|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: php3 Digest 4 Jun 2000 16:59:29 -0000 Issue 1714
From: php3-digest-help
lists.php.netDate: Sun Jun 04 2000 - 11:59:29 CDT
- Next message: php3-digest-help
lists.php.net: "php3 Digest 5 Jun 2000 04:59:25 -0000 Issue 1715"
- Previous message: php3-digest-help
lists.php.net: "php3 Digest 4 Jun 2000 04:59:28 -0000 Issue 1713"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php3 Digest 4 Jun 2000 16:59:29 -0000 Issue 1714
Topics (messages 92530 through 92545):
Re: strtolower Spanish characters
92530 by: Rasmus Lerdorf
DB delete problem !
92531 by: Seojuyung
GD library for win32
92532 by: Kjell Tuominen
good, reliable hosting providers
92533 by: Sumitha
PHP4 with PHPLib ?
92534 by: Meir Kriheli - MKsoft
Re: OCIBindbyName problem
92535 by: thies.digicol.de
Re: Fatal Error, PHP - Oracle 8i
92536 by: thies.digicol.de
Re: help - using OCI8 and every query gets parsed
92537 by: thies.digicol.de
multi search
92538 by: Jêdrzej Kolesiñski
persistent connections
92539 by: Martin A. Marques
explode an html file in multiple files
92540 by: Pierre-Alain Joye
Getting daily weather on my site
92541 by: Stan
92545 by: Stan
Oracle Mailing Lists
92542 by: Alaiddin Tayeh
Announcing new PHP software
92543 by: Greg Billock
Re: Persistant Variables?
92544 by: Greg Billock
Administrivia:
To subscribe to the digest, e-mail:
php3-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php3-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php3
lists.php.net
----------------------------------------------------------------------
attached mail follows:
On Sat, 3 Jun 2000, Andrew Sheh wrote:
> I would like to get the lower case of some special characters...
>
> Á --> we want to get "a"
> É --> e
>
> strtolower will give Á back. Note we don't want the tilde.
>
> Any thoughts.
Just do it in 2 steps:
$str = strtolower($str);
$str = strtr($str, "ÁÉ", "ae");
Put whatever other special chars and their corresponding mapped character
in there, of course.
-Rasmus
attached mail follows:
Hello ~
I have a problem with dealing DB deleting.
Now let us proceed to the main subject ,
I have a DB table consist of 5 members(field name is 'uid').
'uid' order is 1,2,3,4,5.
I deleted number 3 member.
then I sorted it in regular order, 1,2,3,4.
and I inserted another member.
but, the 'uid' field became 1,2,5,3,4 contrary to my expectations 1,2,3,4,5.
How can I make this field to 1,2,3,4,5 as I anticipated ?
please help me
attached mail follows:
Hi,
I would really appreciate if anyone could send me an old version of the GD
library(which includes gif-support).
I tried to visit http://www.php.net/distributions/ but got only an "access
forbidden"-message.
t.i.a.
regards kjell
attached mail follows:
Hello !
I am looking for goodm reliable, well priced web hosting providers who have
php and mysqlm with Apache etc.
TIA
Sumitha
attached mail follows:
Are there any known issues about PHPLib and PHP4 ?
Has anyone tried it ?
Thank you,
Meir Kriheli
MKsoft computer systems
attached mail follows:
On Fri, Jun 02, 2000 at 01:19:59PM -0700, Adam Powell wrote:
>
> Hi, Im trying to use OCIBindByName to do a query on Oracle (apparently it
> speeds up execution), however I cant seem to get it to work.
>
> Lets say I have a simple table called personal_pwds with username char(20)
> and password char(20) and I want to do a query such as
> SELECT password FROM personal_pwds WHERE username='adam'
>
> This works fine, but if I want to do it via the OCIBindByName Im getting
> lost... Im trying
>
your almost there;-)
> $stmt = OCIParse($conn, "SELECT password FROM personal_pwds WHERE
> username=':username'");
username=:username");
no quotes, please.
> OCIBindbyName($stmt, ":username", &$username, 20);
> OCIExecute($stmt);
>
> but it doesnt seem to be working, could somebody tell me what to do here,
> the docs are a bit confusing.
>
> Thanks,
> Adam
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
--Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany
attached mail follows:
On Fri, Jun 02, 2000 at 01:28:36PM -0600, R. Sandoval wrote: > Hello! everybody! > > I have a problem, i hope your help sincerely, thanks! > In a server linux redhat 6.2, i have installed Oraclei 8.1.5 > working perfectly, the apache is working too. > i installed the rpm packages > php-3.0.15 > php-pgsql > > I made some test from php, reading information from the postgresql database. > Until now everything is going fine. > > Now, my problem is that when i wish to read some data from the Oracle DB > using php. When i try tu use any function of Oracle-php like : > OCILogon() or Ora_Logon() > > it marks a error message: > > <b>Fatal error</b>: Call to unsupported or undefined function ora_logon() > > My question are: > > * The binary packet "php-3.0.15.rpm" is not compiled to support of native > calls to the functions OCI of oracle????? > * Do I need to download the "src.rpm" and make the compilation with the > option -with-oracle =DIR ????
yes.
>
> Or do i need to configure another thing?
> For your help thank you so much!!
> bye
>
>
> R.Sandoval
> ogir
gd.com.mx
> Cd. del carmen Camp. México
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
--Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany
attached mail follows:
On Fri, Jun 02, 2000 at 09:51:14PM -0700, Adam Powell wrote: > > We are using PHP 4.0.0 talking to Oracle 8.1.6, and all our queries are > getting parsed every single time. Oracle is supposed to be able to cache > pre-parsed statements so that they dont have to get parsed every time, but > it doesnt seem to be doing this.
how can you tell?
> > Can anybody think of some way in PHP that may be causing Oracle to have to > re-parse a query every single time? Has anybody ever had experience of > having to fix this problem?
are you talking about v$sql_area?
if yes, oracle can only reuse 100% identical queries. so make sure you use bound-variables.
php does not cache sql-statements, 'cause oracle does this for us.
>
> Thanks,
> Adam
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
--Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany
attached mail follows:
Hi,
I wonder is there any (free) multi search engine (php to download) around the net... does anybody know ?
attached mail follows:
My question is how do I use a persistent connection? What I mean is, if I connect, and then I want to connect to the database with a php script that is on the next html code, how do I use the connection? Do I have to send the username and password with a ifx_connect statment?
Thanks
-- "And I'm happy, because you make me feel good, about me." - Melvin Udall ----------------------------------------------------------------- Martín Marqués email: martinmath.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------
attached mail follows:
Hello,
I m currently develop a class to explode a html doc to a multiple pages doc and stores theses pages in a db. I think I m not the only one to do that :-) Cover all cases (due to html tag) is quit hard, anyone knows where to find this kind of class or function (or a skeleton) ?
tia
PA
_¸,ø¤°`¯`°¤ø,¸_¸,ø¤°`¯`°¤ø,¸_¸,ø¤°`¯`°¤ø,¸_ (¯`·._ (¯`·._--={PA Joye}=--_.·`¯) _.·`¯) (¯`·._ (¯`·._--={Fight for your mind}=--_.·`¯) _.·`¯) ¯`°¤ø,¸_¸,ø¤°`¯`°¤ø,¸_¸,ø¤°`¯``°¤ø,¸_¸,ø¤°`¯
attached mail follows:
Hi,
I don't know if php can do this but does anyone how to read daily weather report from weather.com and have it automatically displayed on mine.
attached mail follows:
Thanks Chris! That's perfect. That's exactly what I was looking for.
Chris Cameron wrote:
>
> Hi,
> PHP can do this, and I've done it myself with the Weather Canada page.
> I'm not sure how much you know, but I'll show you what I did.
>
> <?
> $needle = "<P><FONT SIZE=+1><B>Current Conditions</B></FONT>";
> $needle2 = "Temperature:</TD><TD WIDTH=20> </TD>";
> $fp = fopen("http://weather.ec.gc.ca/forecast/yvc.html", "r");
> while(!feof($fp)) {
> $buffer = fgets($fp, 4096);
> if(strstr($buffer,$needle)) {
> $buffer = fgets($fp, 4096);
> $Condition = fgets($fp, 4096);
> }
> if(strstr($buffer,$needle2)) {
> $buffer = fgets($fp, 4096);
> $Temp = fgets($fp, 4096);
> }
> }
> $Condition = strip_tags($Condition);
> $Temp = strip_tags($Temp);
> print("$Condition
$Temp");
> fclose($fp);
> ?>
>
> This'll work assuming the page doesn't decide to change it's format. I just
> found html infront of the temperature that I thought would be uniqe to the
> rest of the page, than when I wanted to get the weather, it would search
> through the page, and it'd know that the tempurature would be right after
> the html.
>
> Hope that helps,
> Chris
>
> ----- Original Message -----
> From: "Stan" <stan
webmouse.net>
> To: <php3
lists.php.net>
> Sent: Sunday, June 04, 2000 9:17 AM
> Subject: [PHP3] Getting daily weather on my site
>
> > Hi,
> >
> > I don't know if php can do this but does anyone how to read daily
> > weather report from weather.com and have it automatically displayed on
> > mine.
> >
attached mail follows:
hello, I want to subscribe to Oracle DBAs Mailing Lists,and I do not know any list. any help thanks
attached mail follows:
It is similar in concept to Zope for Python or Mason for perl, but does not depend on being able to install Apache modules or new scripting packages, and so is very accessible to webmasters on more "average" installations and hosting plans. It has an auto-installer as well, which makes it pretty easy for webmasters to download and install the system on their servers, as well as get new scripts for the system.
The status of the project right now is "pre-release." I am hoping that some feedback from the excellent web developers that populate this list will help fine-tune the architecture and point out bugs, holes that need plugging, important features that are missing, etc. If you decide you're interested in working on the core of Terra Cotta, please send me an email.
-Greg Billock
[duplicate of mailing to php-general; double-mailed since the lists are kind of in flux right now]
attached mail follows:
There are session libraries for PHP3 (like phpLib (http://phplib.netuse.de/) or the Terra Cotta sessioning code (http://www.terracottasoftware.com/) that I wrote).
The problem with module memory in Apache is that it is multi-threaded. This means that you are forced to store the shared variables somewhere on disk so that each Apache process can get to them. At that point, you can either use a file or SQL. SQL is better in the sense that all the simultaneous access, file locking, record parsing/finding etc. is already done for you in a standardized, optimized way.
-Greg
Roy Nasser wrote:
> The problem is that:
>
> 1) This will still make me have to look in the DB once per user.... (OK I
> reduced it a bit, but the most part of the users will only see the main page
> twice, and will go straight to search)
> 2) I am not running PHP4
>
> > -----Original Message-----
> > From: Bart van Bragt [mailto:bartvb
iae.nl]
> > Sent: Friday, June 02, 2000 2:00 PM
> > To: Roy Nasser
> > Cc: php
> > Subject: Re: [PHP3] Persistant Variables?
> >
> >
> > On Fri, Jun 02 at 13:57:19, Roy Nasser wrote:
> > > I was looking for some globa variables...
> > >
> > > It wouldnt really be Session variables, more like PHP Variables or
> > > something...
> > >
> > [snip]
> > > > > a) The partners have a Web interface to alter things
> > > > > b) Other programs such as perl programs also use this data (I
> > > > have been able
> > > > > to make my Perl server read these things on load)
> > > > It hink this can all be solved by using sessions:
> > > > http://www.uk.php.net/manual/ref.session.php
> >
> >
> > Well what's the problem with session variables? The way I see it is
> > that you want variables that stay with a certain visitor/session.. So
> > I don't see why you couldn't use session variables. If you store the
> > variables in a database (or in a file, doesn't matter that much) you
> > can also use the values of these variables in perl..
> >
> > If you want variables that are available to ALL scripts, then you
> > could look into something like perpend..
> >
> > --
> > Bart van Bragt
> > "I have my wedding to prepare, my wife to murder, and Guilder to
> > frame for it. I'm swamped." -- Prince Humperdink, _Princess Bride_
> >
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
- Next message: php3-digest-help
lists.php.net: "php3 Digest 5 Jun 2000 04:59:25 -0000 Issue 1715"
- Previous message: php3-digest-help
lists.php.net: "php3 Digest 4 Jun 2000 04:59:28 -0000 Issue 1713"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]