Re: [PHP] I am SO confused (help with references!) (could be a bug?)
Hi, Well... I don't know if this is any help but I ran your code under PHP/4.0b4 and got: "Inside2 Inside2 Inside2 " Seems right to me? -- -- Intent A/S Tais M. Hansen Web Developer ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9asamr$865$[EMAIL PROTECTED]">news:9asamr$865$[EMAIL PROTECTED]... > If I were any more confused my head would split open. This just plain makes > no sense, and I'm wondering if it's just a bug in PHP. > Consider the following code: > ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Back Button Dilemma's
If you know javascript, you might try something like history.go(20) on each page. It _should_ cause the user to catapult forward in their history list each time they load the page. If they haven't used their back button, then having javascript "push" their forward button should do nothing. That keeps them from going back and changing a selection. The other way is when someone submits the page, save that data so that if the person resubmits the page not only are the changes ignored, but they are redirected to the page they should be on. Or ideally you can just make the whole thing in one php page. When someone submits their info, save it and give them the next form. (the best way to do it) Or you could just use the good ole fashion flash applet, which breaks most people's back buttons :) (that can be gotten around, of course, and only happens on some peoples systems) -- Plutarck Should be working on something... ...but forgot what it was. ""RealGM"" <[EMAIL PROTECTED]> wrote in message 009901c0c17f$ed066300$9d14c9cb@m3g7o5">news:009901c0c17f$ed066300$9d14c9cb@m3g7o5... Hi Guys, I know everywhere it says that it is not possible to actually disable the back button, and people have offered some solutions that have not worked for me, this is why I am emailing this list. I have a form which displays the same page with new content (controlled by a counter) in a loop until an exit point is reached. When the user clicks back on the browser the counter still increments and the screen continues like the user pressed the continue button (which is the process I want the user to take). The problem is the user did not make a selection and this is where the problem lies (it takes the default, which throws the whole process out of whack). The question I am asking is how can I prevent the user trying to go back? Is there any code out there which can counter this action (and not cause my counter to increment, thus moving the user to the next screen)? Is there any way to detect that the back button/option has been selected and display a "warning" type page before going back to where the user is? The forward counter action does not really fix my problem. Thanks, Michael. Chief Information Officer, RealGM, Inc. http://www.realgm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] I am SO confused (help with references!) (could be a bug?)
Odd...well I still don't have a clue how to do what I wanted, but I recoded it and now it works. I just run HTTP_POST_VARS, HTTP_GET_VARS, and HTTP_COOKIE_VARS through a special function that refines all the data. No errors, no bugs, no problem :) Thanks anway...maybe I'll figure out what's going on some day, lol. -- Plutarck Should be working on something... ...but forgot what it was. ""[Intent A/S] Tais M. Hansen"" <[EMAIL PROTECTED]> wrote in message 9auc2k$e5c$[EMAIL PROTECTED]">news:9auc2k$e5c$[EMAIL PROTECTED]... > Hi, > > Well... I don't know if this is any help but I ran your code under PHP/4.0b4 > and got: > > "Inside2 Inside2 Inside2 " > > Seems right to me? > > > -- > -- > Intent A/S > > Tais M. Hansen > Web Developer > > ""Plutarck"" <[EMAIL PROTECTED]> wrote in message > 9asamr$865$[EMAIL PROTECTED]">news:9asamr$865$[EMAIL PROTECTED]... > > If I were any more confused my head would split open. This just plain > makes > > no sense, and I'm wondering if it's just a bug in PHP. > > Consider the following code: > > ... > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] I am SO confused (help with references!) (could be a bug?)
Actually I ran it under PHP/4.0.4pl1! Forgot which server I were using! ;) But great that you got it working! I too hate seemingly illogical errors! :) -- -- Intent A/S Tais M. Hansen Web Developer ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9auchs$jku$[EMAIL PROTECTED]">news:9auchs$jku$[EMAIL PROTECTED]... > Odd...well I still don't have a clue how to do what I wanted, but I recoded > it and now it works. > > I just run HTTP_POST_VARS, HTTP_GET_VARS, and HTTP_COOKIE_VARS through a > special function that refines all the data. No errors, no bugs, no problem > :) > > Thanks anway...maybe I'll figure out what's going on some day, lol. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear/DB common.php
mj Tue Apr 10 01:03:47 2001 EDT Modified files: /php4/pear/DB common.php Log: fixed typo in inline docs Index: php4/pear/DB/common.php diff -u php4/pear/DB/common.php:1.42 php4/pear/DB/common.php:1.43 --- php4/pear/DB/common.php:1.42Mon Mar 26 16:57:24 2001 +++ php4/pear/DB/common.php Tue Apr 10 01:03:46 2001 @@ -671,7 +671,7 @@ * '3' => 'three', * ) * - * ...while the call getAssoc('SELECT id,text,date FROM mydate') returns: + * ...while the call getAssoc('SELECT id,text,date FROM mytable') returns: * array( * '1' => array('one', '944679408'), * '2' => array('two', '944679408'), -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] while loop
> > On Tue, 10 Apr 2001 15:16, Zeus wrote: > > > > $query = mysql_query("some SQL here"); > > > > while ($row = mysql_fetch_array($query)) { This line is the same as do while( ($row = mysql_fetch_array($query)) == TRUE) { Common coding style in C/C++ and PHP :) Regards, -- Yasuo Ohgaki ""Zeus"" <[EMAIL PROTECTED]> wrote in message 00b601c0c183$55647f60$4f7618d2@zeus">news:00b601c0c183$55647f60$4f7618d2@zeus... > Isn't the '=' operator suppose to be used for assigning and not for > evaluation. > > I thought '==' should be used in this context? > > Zeus > - Original Message - > From: David Robley <[EMAIL PROTECTED]> > To: Zeus <[EMAIL PROTECTED]>; Michael Hall <[EMAIL PROTECTED]>; Jacky > <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, 10 April, 2001 1:53 PM > Subject: Re: [PHP] while loop > > > > On Tue, 10 Apr 2001 15:16, Zeus wrote: > > > > $query = mysql_query("some SQL here"); > > > > while ($row = mysql_fetch_array($query)) { > > > > do stuff; > > > > } > > > > > > Isn't this suppose to be an infinite loop? > > > > > > while ($row is assigned to mysql_fetch_array($query)) { > > > do stuffs; > > > } > > > > > > someone correct me if I'm wrong? > > > > > > Zeus > > > > Consider yourself corrected :-) mysql_fetch-array returns an array > > corresponding to the fetched row, or _false if there are no more rows_ > > > > So as soon as there are no more rows, $row = mysql_fetch_array($query) > > evaluates to false and the while exits. > > > > -- > > David Robley| WEBMASTER & Mail List Admin > > RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ > > AusEinet| http://auseinet.flinders.edu.au/ > > Flinders University, ADELAIDE, SOUTH AUSTRALIA > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] what could cause the maximum execution time exceeded?
Just wondering ---if your question means . Where is the time limit set ? then the answer is ---php.ini file (usually sitting in the /usr/local/lib directory) . please ignore if I interpreted the question wrong !!. bye, ~Rahul "B. van Ouwerkerk" wrote: > At 11:02 10-4-01 -0500, Jacky wrote: > >Hi people > >I ran a PHP page and there was an error said below: > >Fatal error Maximum execution time of 30 seconds exceeded in > >include/getRoomDesc.php4 > >What could cause this?? > > The rain??!! HOW should we know without some code.. You can post it or > put it in a .txt file and give us a link.. > > Uhm.. The problem might be caused by a slow response from the > databaseserver.. seems to happen if an ISP's server is crowded. > Could also happen if you try to connect to a remote source.. > > Bye, > > B. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] $8/mo php hosting on 24/7, OC3+ web server
Hello, I am offering php hosting with features at a price no one else has, as far as I know. I'm not going to create a giant web hosting service. I'm doing this to pay for my web portal. - This web portal has been operated by the same person (my partner) for over four years. I have been a co-administrator for about six months. - this is on a dedicated server with OC3+ connection, bandwidth is guaranteed - 24/7 uptime is guaranteed, last reboot was 2/12/01. This site will not be down for more than one hour per year. - The computer running this site is at a web server farm in a protected building. Any hardware that fails is replaced immediately. - no bandwidth sucking sites are allowed, e.g. porno, fileserver, video, etc. - php 4.02 is installed - perl 5.0x and DBI are installed - MySQL 3.23.32 and PostgreSQL 7.0.3 are set up - You get a total of two databases - You get five email addresses, telnet, ssh, and ftp access - I will set up your domain name for an extra $15 or you can put your site at www.singlesconnection.org/ - you get 40MB of hd space - webserver is Apache 1.3.12 and Red Hat Linux with kernel 2.2.18 - hardware - Pentium II with 128MB ram, scsi hard drive My name is Jeffrey Greer. You can mail me at [EMAIL PROTECTED] You can view more info at http://www.singlesconnection.org/services/php_hosting.php -- Jeff Greer - B.S. computer science - Univ. MO - Rolla - web developer/software engineer, dedicated to the struggle against the fascist Microsoft hegemony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Why my php page will reply "session expire" when the use press back button?
> > Why my php page will reply "session expire" when the use press back > > button? And then all the information in the form that user fill is lost, > > how can I fix this? thx > > > > Set your session.cache_limitter to private and set some reasonable expration > time for session.cache_expire. > The above solution solve my "session expire" problem long ago, but recent I discover there is another problem. If I set the session.cache_limitter to "private" or "public", I find that IE will cache the login message of each page incorrectly. i.e.: In every page of my site, I will put a message like: "Hi, user XXX" in the heading. But even the user is logout or login with other username like "YYY", there is still message "Hi, user XXX" is SOME of the pages. There is no such problem in Netscape, and the problem persist even if I set "check if there is newer version of page every time visit" in IE. How can I fix this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Sorry - Way OT but I need help
RE: [PHP] Sorry - Way OT but I need helpIf you place something like: ErrorDocument 404 /errors/404.php inside your .htaccess file and then create a file called 404.php in the errors directory it should work. You can also echo plain text to he screen using ErrorDocument 404 "Error Message Goes Here." HTH Andy Woolley www.databasewatch.com - Original Message - From: Boget, Chris To: 'Andy Woolley' ; [EMAIL PROTECTED] Sent: Monday, April 09, 2001 7:57 PM Subject: RE: [PHP] Sorry - Way OT but I need help > I know this has nowt to do with PHP so I'll keep it as short > as possible. > My problem is, I'd like to get 404 error redirecting to work > in IE under Apache. I've set the ErrorDocument in apache.conf > and in .htaccess. It works in Netscape et al but not in IE. > IE seems to be issuing it's own error page. I know there must > be a config somewhere other than the client side "Show friendly > error messages", but can't seem to find it. I have RTFM and > scanned the Web but still not found it. Hope you can help. > Once again I apologize for being Off Topic. Does someone have an example of how to do this within .htaccess? I've tried everything and all I ever get is an Internal Server Error when the .htaccess file is in place... :/ Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] php -> html
Hello.. ^^ I am trying to save results for php files. for example.. I create abc.php3 following as.. # abc.php3 If I run abc.php3 , the results is .. hello. So.. How can I this results to save file. # abc.html hello -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c
Hello Guys, do you think this should be merged to the 4.0.5 branch? Otherwise Blowfish (and others) encrypted get initialised with a too long key. That caused them to be not compatible with encryptions/decryptions made by other programs. The second fix fixes a vulnarability in the assembly of the minfo lines. Derick On Tue, 10 Apr 2001, Derick Rethans wrote: > /php4/ext/mcrypt mcrypt.c > Log: > - Fix for bug #8839 > - MINFO updated to use smart_str's Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Back Button Dilemma's
RealGM wrote: > > Hi Guys, > > I know everywhere it says that it is not possible to actually disable the back >button, and people have offered some solutions that have not worked for me, this is >why I am emailing this list. > > I have a form which displays the same page with new content (controlled by a >counter) in a loop until an exit point is reached. When the user clicks back on the >browser the counter still increments and the screen continues like the user pressed >the continue button (which is the process I want the user to take). The problem is >the user did not make a selection and this is where the problem lies (it takes the >default, which throws the whole process out of whack). Before I can help you: How did you programm the counter? Do you forward it in a HTML-form to the PHP script? Or do you use the counter only server-side? Please attach the code. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php -> html
ewoong wrote: > > Hello.. ^^ > > I am trying to save results for php files. > > for example.. > > I create abc.php3 following as.. > > # abc.php3 > >echo ("hello"); > ?> > > If I run abc.php3 , the results is .. > >hello. > > So.. > > How can I this results to save file. > > # abc.html > >hello > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] Check the manual! "Filesystem functions" -- * R&zE: *** ** Renze Munnik ** ** E: [EMAIL PROTECTED] ** M: +31 6 218 111 43 *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] can't restart apache, help needed
Hello to all, I have SuSE 7.1 installed and PHP4 source downloaded from www.php.net after ./configure --with-axps=/usr/sbin/apxs make make install and /etc/init.d/apache restart is the http server no more starteable. what's going wrong here, I didn't have any problems with the older version of the suse linux and PHP4, if anyone has an idea how to rerun the apache without a completly new compilation of it please tell me thanks and best regards Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] page counter
In addition of all people said, I would add a lock to the file : >$cf = fopen($counter_file,"w"); flock($cf,LOCK_EX); >fputs($cf, "$counter_file_line[0]"); >fclose($cf); This to avoid another script attempt to read the file while you update it... I had the problem, so sometimes the counter return to zero... jean-arthur At 13:38 10/04/01 +0800, Wen Ni wrote: >I got an example from the internet about the PHP page counter. However >after several testing on the coding, I still met the problem which I >don't understand. Please help me. > >$counter_file = >"/home/venus/public_html/qa/doccon/doc_distribution/count.txt"; > >$counter_file_line = file($counter_file); > >$counter_file_line[0]++; > >print "counter=$counter_file_line\n"; >$cf = fopen($counter_file,"w"); >fputs($cf, "$counter_file_line[0]"); >fclose($cf); > >echo $counter_file_line[0]; > >?> > >problems: > >Warning: >fopen("/home/venus/public_html/qa/doccon/doc_distribution/count.txt","w") >- Permission denied in >/home/venus/public_html/qa/doccon/doc_distribution/New.php on line 9 > >Warning: Unable to find file identifier 0 in >/home/venus/public_html/qa/doccon/doc_distribution/New.php on line 10 > >Warning: Unable to find file identifier 0 in >/home/venus/public_html/qa/doccon/doc_distribution/New.php on line 11 > > > > >Thanks > >from: Wendy >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] can't restart apache, help needed
On Tue, Apr 10, 2001 at 12:02:45PM +0200, Thomas Angst wrote: > /etc/init.d/apache restart > is the http server no more starteable. > what's going wrong here, I didn't have any problems with the older version > of the suse linux and PHP4, if anyone has an idea how to rerun the apache > without a completly new compilation of it please tell me what do the logs say? (error-log of apache) what does 'httpd -X' do? -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] can't restart apache, help needed
Thomas Angst wrote: > ./configure --with-axps=/usr/sbin/apxs > make > make install and > /etc/init.d/apache restart > is the http server no more starteable. What is the exact error-message? What does /sbin/init.d/apache configtest say? regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
Have you tested it on Linux, FreeBSD, OpenBSD... ? :) If you know for sure it will work on these, go ahead. --Jani On Mon, 9 Apr 2001, Jason Greene wrote: >Everyone, > >Can I merge this into the current RC? This should not cause >any problems. > >-Jason > >- Original Message - >From: "Jason Greene" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, April 09, 2001 10:16 PM >Subject: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > > >> jason Mon Apr 9 20:16:06 2001 EDT >> >> Modified files: >> /php4/ext/sockets sockets.c >> Log: >> Fix for PR #9729, 9664, 9656, 8667. >> All compilers on Solaris should build this extension correctly now. >> It turns out the SUN CC, by default, enables a define that enables the use of >> #pragma redefine extname in sun header files. This is why cc would work, >> and gcc wouldn't. >> >> -Jason >> >> >> Index: php4/ext/sockets/sockets.c >> diff -u php4/ext/sockets/sockets.c:1.33 php4/ext/sockets/sockets.c:1.34 >> --- php4/ext/sockets/sockets.c:1.33 Thu Mar 22 05:16:58 2001 >> +++ php4/ext/sockets/sockets.c Mon Apr 9 20:16:05 2001 >> @@ -17,7 +17,7 @@ >> +--+ >> */ >> >> -/* $Id: sockets.c,v 1.33 2001/03/22 13:16:58 sniper Exp $ */ >> +/* $Id: sockets.c,v 1.34 2001/04/10 03:16:05 jason Exp $ */ >> >> #include "php.h" >> >> @@ -34,6 +34,10 @@ >> #define _XOPEN_SOURCE_EXTENDED >> #define _XPG4_2 >> #define __EXTENSIONS__ >> + >> +#ifndef __PRAGMA_REDEFINE_EXTNAME >> +#define __PRAGMA_REDEFINE_EXTNAME >> +#endif >> >> #include "ext/standard/info.h" >> #include "php_sockets.h" >> >> >> >> -- >> PHP CVS Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: [EMAIL PROTECTED] >> > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] what does this error means?
When Itried to insert a record into a table, It looks like the record was never inserted into table so I use mysql_error() and the error message show up: "Duplicate entry '10' for key 1" What does that tell me? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] php.ini
Is it possible to override the maximum script execution time as set in php.ini using an Apache directive like this in an .htaccess file?: php_value max_execution_time = 60 Thanks Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Controlling just size with regular expressions
On Monday 09 April 2001 23:37, you wrote: > Hi there, > > I need a regular expression that accepts *anything* without > restrictions, only that the size of the string should be between (for > instance) 0 and 9 characters. I know the {0,9} trick, but how do I > accept *anything* in a form field? "anything" = '.' => /^.{0,9}$/ will do the trick strlen () will be faster though -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) A - American Association Against Acronym Abuse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] can't restart apache, help needed
I didn't get any further errors as this in /ver/log/httpd/error_log: PHP Warning: Function registration failed - duplicate name - define in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - defined in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - each in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - strlen in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - strcmp in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - strcasecmp in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - error_reporting in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - leak in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - function_exists in Unknown on line 0 PHP Warning: Basic Functions: Unable to register functions, unable to load in Unknown on line 0 and /sbin/init.d does no more exist Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] what does this error means?
Hi Jacky, This means that your key 1 i,e the first field in the table is a primary key and the table contains a record which has a value 10 in the first field. Hope this is clear. Keyur $$$ - Original Message - From: "Jacky@lilst" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 3:55 AM Subject: [PHP] what does this error means? > When Itried to insert a record into a table, It looks like the record was > never inserted into table so I use mysql_error() and the error message show > up: > "Duplicate entry '10' for key 1" > What does that tell me? > Jack > [EMAIL PROTECTED] > "There is nothing more rewarding than reaching the goal you set for > yourself" > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Empting all variables
On Tuesday 10 April 2001 04:28, you wrote: > Is there a quick way to 'empty' all the variables I have set on a page? > I need to clear everything before re-loading the page. If you reload the page everything is cleared anyway (aside from session data) -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) A - American Association Against Acronym Abuse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] php site down?
I've been trying to get to the annotated manual all afternoon but can't get through to www.php.net. Anyone else have the same problem? Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Upload file from my local C:
On Monday 09 April 2001 18:35, you wrote: > Christian > > Below is my script. > > if (!copy($file,"1.dat")) { > echo "error"; } > else { > echo "successful"; > } > ?> > > NOTE: where $file is passed by other html using form. how? using a ? Then re-read the file uploading chapter in the manual > > I use a command "copy" to upload a file from my local win machine to > > webserver. However, it is not successful. It prompts that "Warning: > > Unable to open 'D:\\PHP\\upload1.php' for reading:". I would like to > > know what is the problem -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) A - American Association Against Acronym Abuse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php site down?
There seems to be some routing problem at ALTER.NET (from the uk anyway). Nick. On Tue, 10 Apr 2001, Michael Hall wrote: > I've been trying to get to the annotated manual all afternoon but can't > get through to www.php.net. Anyone else have the same problem? > > Mick > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] what does this error means?
You are trying to add a record whose primary key/unique index already exists in the database. -Stewart -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: 10 April 2001 23:25 To: [EMAIL PROTECTED] Subject: [PHP] what does this error means? When Itried to insert a record into a table, It looks like the record was never inserted into table so I use mysql_error() and the error message show up: "Duplicate entry '10' for key 1" What does that tell me? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Upload file from my local C:
Hi Reiniger, try this : copy(addslashes($file),"1.dat") hope it is clear. keyur - Original Message - From: "Christian Reiniger" <[EMAIL PROTECTED]> To: "HK Woo" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 4:15 PM Subject: Re: [PHP] Upload file from my local C: On Monday 09 April 2001 18:35, you wrote: > Christian > > Below is my script. > > if (!copy($file,"1.dat")) { > echo "error"; } > else { > echo "successful"; > } > ?> > > NOTE: where $file is passed by other html using form. how? using a ? Then re-read the file uploading chapter in the manual > > I use a command "copy" to upload a file from my local win machine to > > webserver. However, it is not successful. It prompts that "Warning: > > Unable to open 'D:\\PHP\\upload1.php' for reading:". I would like to > > know what is the problem -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) A - American Association Against Acronym Abuse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
> > Everyone, > > Can I merge this into the current RC? This should not cause > any problems. What are we doing with the current release right now? who is having problems and which problems are outstanding?? We have two possible MFH's that people want to do which shouldnt really be included at this later stage but both are quite important. We really need to get 4.0.5 out the door so please send a list of any problems you are aware of or any fixes you feel should be in there so that they can be reviewed and put in the branch if needed. Today is Tuesday lets try and get a List by tomorrow and then an RC with any fixes tomorrow night then two days testing and release on Friday, otherwise release on monday if there are still unresolved issues. -James -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php -> html
It's not simple with PHP3. (I don't know better way to do this with PHP3. You can make a wrapper function for output functions and store output to files. If you must use PHP3) If you need to do this a lot, upgrade to PHP4. It's easy with PHP4, since PHP4 supports output buffering functions. ob_start(), ob_get_contents(), etc. Much easier, much faster. Regards, -- Yasuo Ohgaki ""ewoong"" <[EMAIL PROTECTED]> wrote in message 9auilj$9st$[EMAIL PROTECTED]">news:9auilj$9st$[EMAIL PROTECTED]... > Hello.. ^^ > > I am trying to save results for php files. > > for example.. > > I create abc.php3 following as.. > > # abc.php3 > >echo ("hello"); > ?> > > If I run abc.php3 , the results is .. > >hello. > > > So.. > > How can I this results to save file. > > # abc.html > >hello > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Turn display_errors on and off
I would like to be able to turn on-screen errors on and off selectively within scripts. I have tried using the error_reporting() function but this stops error messages going to the log file, which I want always to happen. It seems to me that I want to set the display_errors configuration option within my scripts. Is this possible, or is there an other way to do what I want? TIA Euan Greig Technical Consultant BRANN DATA [EMAIL PROTECTED] 01285 645997 ** Any opinions expressed in this email are those of the individual and not necessarily the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] huge PHP file, hardcore processing
At 12:06 10/4/2001 +0900, you wrote: >You should be able to use ODBC under UNIX. I guess. > >Source code for MS SQL Server modules seems it does not compile under UNIX. I >guess it may work with Apache under Windows. > > From mssql_win32_howto.txt in PHP source. > >24 Start Visual Studio, load php_modules.dsw, select the MSSQL projects, > 25 configuration and build it. > 26 > 27 This module requires ntwdblib.dll and one or more of the following dll's > 28 > 29 dbmsadsn.dll > 30 dbmsrpcn.dll > 31 dbmsshrn.dll > 32 dbmssocn.dllfor tcp/ip connections > 33 dbmsspxn.dllfor ipx/spx connections > 34 dbmsvinn.dll > 35 dbnmpntw.dllfor netbios connections > >Sorry I don't use MS SQL Server. well... I don't have Visual Studio here... so I guess I'm stuck with shitty-old IIS... :( . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] register_shutdown_function - uses for
I was hoping that I could use this function to enable me to finish scripts tidily when they time out or are aborted by the user. eg display the message "script timed out". However this will not work as no output is allowed in the shutdown function. I can see other ways to do what I want (but suggestions would always be welcome) but the real point of this email is this: what sort of thing would you use register_shutdown_function to achieve? Euan Greig Technical Consultant BRANN DATA [EMAIL PROTECTED] 01285 645997 ** Any opinions expressed in this email are those of the individual and not necessarily the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Turn display_errors on and off
Try this alt solution: whenever you don't want onscreen solution call your functions as: @function_name('adadasd'); and if you want warning call them normally. -elias http://www.kameelah.org/eassoft ""Greig, Euan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to be able to turn on-screen errors on and off selectively within scripts. I have tried using the error_reporting() function but this stops error messages going to the log file, which I want always to happen. It seems to me that I want to set the display_errors configuration option within my scripts. Is this possible, or is there an other way to do what I want? > > TIA > > Euan Greig > Technical Consultant > BRANN DATA > [EMAIL PROTECTED] > 01285 645997 > > > > > > ** > Any opinions expressed in this email are those of the individual and > not necessarily the Company. This email and any files transmitted with > it, including replies and forwarded copies (which may contain alterations) > subsequently transmitted from the Company, are confidential and solely for > the use of the intended recipient. If you are not the intended recipient > or the person responsible for delivering to the intended recipient, be > advised that you have received this email in error and that any use is > strictly prohibited. > > ** > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Inserting time + date entry into mySQL DB
Hi, I know this has been brought up repeatedly but I couldn't find the archives website. I'm doing a news publishing script (something like newsphp \ php-nuke) but uses mySQL to store all the data instead of flat files. I would like to make it such that everytime I submit an news entry, the time\date will automatically be inserted in that row. Could someone give me some suggestions? - David Chua aka. Zeus -
Re: [PHP] L?
I think L is 50. bill Kurth Bemis wrote: > what does the roman numeral L mean? > > can someone point me to a page that has all of the roman numerals and their > English equivlents? > > i forgot? > > ~kurth > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Inserting time + date entry into mySQL DB
Create a field in your table called something like 'date' and make its data type TIMESTAMP. MySQL will automatically add a timestamp with each new entry ... assuming you're using UNIX, I don't know about windows. Mick > I know this has been brought up repeatedly but I couldn't find the archives website. > I'm doing a news publishing script (something like newsphp \ php-nuke) but uses >mySQL to store all the data instead of flat files. > I would like to make it such that everytime I submit an news entry, the time\date >will automatically be inserted in that row. > Could someone give me some suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] huge PHP file, hardcore processing
Yes - look at freetds.org. > > sorry... I did not make myself clear. I don't intend to switch from IIS to > Apache, cuz I can't. The server runs a whole site in ASP... this is the > only PHP script that runs on it, I was thinking more of running it in > Linux... can I access a MS SQL server from within Apache/PHP under Linux??? > > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php site down?
If you want to view it now, you can try going to http://php.intermedia.com.sg - Its a mirror. - Original Message - From: Nick Davies <[EMAIL PROTECTED]> To: Michael Hall <[EMAIL PROTECTED]> Cc: PHP List <[EMAIL PROTECTED]> Sent: Tuesday, 10 April, 2001 6:46 PM Subject: Re: [PHP] php site down? > > There seems to be some routing problem at ALTER.NET (from the uk anyway). > > Nick. > > On Tue, 10 Apr 2001, Michael Hall wrote: > > > I've been trying to get to the annotated manual all afternoon but can't > > get through to www.php.net. Anyone else have the same problem? > > > > Mick > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] L?
Yep ... I unit V 5 X 10 L 50 C 100 D 500 M 1000 no zero ... try doing maths with this system. Mick > I think L is 50. > > bill > > Kurth Bemis wrote: > > > what does the roman numeral L mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] register_shutdown_function - uses for
Hmm so you can't print?! can you redirect? Header("Location: mymessage.html"); -elias http://www.kameelah.org/eassoft ""Greig, Euan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I was hoping that I could use this function to enable me to finish scripts tidily when they time out or are aborted by the user. eg display the message "script timed out". However this will not work as no output is allowed in the shutdown function. I can see other ways to do what I want (but suggestions would always be welcome) but the real point of this email is this: what sort of thing would you use register_shutdown_function to achieve? > > Euan Greig > Technical Consultant > BRANN DATA > [EMAIL PROTECTED] > 01285 645997 > > > > > > ** > Any opinions expressed in this email are those of the individual and > not necessarily the Company. This email and any files transmitted with > it, including replies and forwarded copies (which may contain alterations) > subsequently transmitted from the Company, are confidential and solely for > the use of the intended recipient. If you are not the intended recipient > or the person responsible for delivering to the intended recipient, be > advised that you have received this email in error and that any use is > strictly prohibited. > > ** > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Parse error
Im getting a "missing )" error on line 77 but cant seem to find it.Am I missing something else thats causing it? for ($i =1;$i<=15;$i++) { if(!(isset(${'R'.$i.'P'};)))// line 77 { ${'R'.$i.'P'};="NULL"; } } Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Inserting time + date entry into mySQL DB
No under windows doesn't work. you have to enter a value in that field with value NOW() -elias http://www.kameelah.org/eassoft "Michael Hall" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Create a field in your table called something like 'date' and make its > data type TIMESTAMP. MySQL will automatically add a timestamp with each > new entry ... assuming you're using UNIX, I don't know about windows. > > Mick > > > I know this has been brought up repeatedly but I couldn't find the archives website. > > I'm doing a news publishing script (something like newsphp \ php-nuke) but uses mySQL to store all the data instead of flat files. > > I would like to make it such that everytime I submit an news entry, the time\date will automatically be inserted in that row. > > Could someone give me some suggestions? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] MySql: Default values
Can a default field value in MySql be a function? Like default value of a date field should be the built-in function NOW()? anything like what i'm asking for? -elias http://www.kameelah.org/eassoft -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Parse error
I think it is because you put a ';' in the isset() after the '}' i believe if you remove it it will work. -elias http://www.kameelah.org/eassoft ""Mike"" <[EMAIL PROTECTED]> wrote in message 9av0j6$h2k$[EMAIL PROTECTED]">news:9av0j6$h2k$[EMAIL PROTECTED]... > Im getting a "missing )" error on line 77 but cant seem to find it.Am I > missing something else thats causing it? > > for ($i =1;$i<=15;$i++) > { >if(!(isset(${'R'.$i.'P'};)))// line 77 > { > ${'R'.$i.'P'};="NULL"; > } > } > > Thanks > Mike > [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Inserting time + date entry into mySQL DB
I want it such that when a user reads the news, he sees something like --- Saturday 25th March 2001 New mirror up on PHP - posted by Zeus @ 00:00 GMT +8 news news news news news news news news news news news news news --- That sort of thing, how can I go about? - Original Message - From: elias <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, 11 April, 2001 7:23 AM Subject: Re: [PHP] Inserting time + date entry into mySQL DB > No under windows doesn't work. > you have to enter a value in that field with value NOW() > > -elias > http://www.kameelah.org/eassoft > > "Michael Hall" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > Create a field in your table called something like 'date' and make its > > data type TIMESTAMP. MySQL will automatically add a timestamp with each > > new entry ... assuming you're using UNIX, I don't know about windows. > > > > Mick > > > > > I know this has been brought up repeatedly but I couldn't find the > archives website. > > > I'm doing a news publishing script (something like newsphp \ php-nuke) > but uses mySQL to store all the data instead of flat files. > > > I would like to make it such that everytime I submit an news entry, the > time\date will automatically be inserted in that row. > > > Could someone give me some suggestions? > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
php-general Digest 10 Apr 2001 13:20:50 -0000 Issue 619
php-general Digest 10 Apr 2001 13:20:50 - Issue 619 Topics (messages 47911 through 48019): Re: huge PHP file, hardcore processing 47911 by: Yasuo Ohgaki 47912 by: Christian Dechery 47915 by: Lindsay Adams 47916 by: Christian Dechery 47974 by: Plutarck 48004 by: Christian Dechery 48005 by: Christian Dechery 48011 by: Michael Kimsal Re: populating dropdown list problems 47913 by: David Robley while loop 47914 by: Jacky 47917 by: Lindsay Adams 47919 by: David Robley 47920 by: Michael Hall 47947 by: Zeus 47949 by: Jason Murray 47951 by: David Robley 47952 by: Zeus 47953 by: Jacky 47955 by: Brian Clark 47956 by: Brian Clark 47957 by: Jack Dempsey 47958 by: Jacky 47959 by: Brian Clark 47961 by: Zeus 47967 by: Jack Dempsey 47972 by: Philip Olson 47979 by: Yasuo Ohgaki Re: & PHP 47918 by: Brian Clark 47930 by: trogers Re: Controlling just size with regular expressions 47921 by: CC Zona 47993 by: Christian Reiniger WHAT IF I DONT WANT TO USE ZEND..(help) 47922 by: Dallas K. Empting all variables 47923 by: Nathan Roberts 47996 by: Christian Reiniger last three characters of a string 47924 by: Joseph Bannon 47926 by: Brian Clark 47927 by: David Robley 47928 by: Jack Dempsey Re: Array Sort? 47925 by: Chris Anderson Libcurl problems 47929 by: Jason Murray Edit crontab to set schedule.. 47931 by: E K L 47932 by: Lewis Bergman 47935 by: E K L 47945 by: Brian Clark Re: HELP...Installation of PHP on Debian Linux! 47933 by: Wayne Topa Re:HTML front end for building page logic online 47934 by: Dennis Gearon what could cause the maximum execution time exceeded? 47936 by: Jacky 47937 by: trogers 47939 by: David Robley 47970 by: B. van Ouwerkerk 47980 by: Rahul Bhide Re: Why a javascript have problem if it is dynamic load? 47938 by: Carfield Yim Another Select question 47940 by: Peter Houchin 47941 by: Alvin Tan 47942 by: Jason Murray 47943 by: Peter Houchin Back Button Dilemma's 47944 by: RealGM 47976 by: Plutarck 47985 by: Robert Vetter Re: login & security 47946 by: David Minor Re: Adding GD for win PHP 47948 by: elias Re: Supplied argument is not a valid MySQL result resource 47950 by: elias 47973 by: Plutarck Zend IDE 1.10 and Debugger Mini-review 47954 by: John page counter 47960 by: Wen Ni 47962 by: Jack Dempsey 47963 by: Brian Clark 47964 by: Brian Clark 47965 by: Keyur Kalaria 47968 by: Chris Aitken 47969 by: Jack Dempsey 47988 by: Jean-Arthur Silve test 47966 by: Ralph Guzman Re: Finer points of debugging: vardump vs. print_r 47971 by: John Re: I am SO confused (help with references!) (could be a bug?) 47975 by: \[Intent A/S\] Tais M. Hansen 47977 by: Plutarck 47978 by: \[Intent A/S\] Tais M. Hansen $8/mo php hosting on 24/7, OC3+ web server 47981 by: Jeffrey Greer Re: Why my php page will reply "session expire" when the use press back button? 47982 by: Carfield Yim Re: Sorry - Way OT but I need help 47983 by: Andy Woolley php -> html 47984 by: ewoong 47986 by: Renze Munnik 48002 by: Yasuo Ohgaki can't restart apache, help needed 47987 by: Thomas Angst 47989 by: Felix Kronlage 47990 by: Alexander Wagner 47994 by: Thomas Angst what does this error means? 47991 by: Jacky 47995 by: Keyur Kalaria 48000 by: Taylor, Stewart php.ini 47992 by: Michael Hall php site down? 47997 by: Michael Hall 47999 by: Nick Davies 48012 by: Zeus Re: Upload file from my local C: 47998 by: Christian Reiniger 48001 by: Keyur Kalaria Turn display_errors on and off 48003 by: Greig, Euan 48007 by: elias register_shutdown_function - uses for 48006 by: Greig, Euan 48014 by: elias Inserting time + date entry into mySQL DB 48008 by: Zeus 48010 by: Michael Hall 48016 by: elias 48019 by: Zeus Re: L? 48009 by: bill 48013 by: Michael Hall Parse error 48015 by: Mike 48018 by: elias MySql: Default values 48017 by: elias Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- IIS ISAPI(PHP4.0.4pl1 and PHP4.0.5RC1) does not work well
Re: [PHP] MySql: Default values
Mumkin ya elias, ana ma afhamsh su'aalak mnih! Not exactly sure what you mean elias. TIMESTAMP in MySQL is a datatype more than a function, but I'm not absolutely sure about that. Mick On Tue, 10 Apr 2001, elias wrote: > Can a default field value in MySql be a function? > > Like default value of a date field should be the built-in function NOW()? > > anything like what i'm asking for? > > -elias > http://www.kameelah.org/eassoft > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Inserting time + date entry into mySQL DB
This is all explained in the PHP manual under dates. Assuming you have a field called 'date' with a timestamp in it, you can format the date like this: $date = date("l jS F Y", $date); But there are a lot of options so read the manual. Mick > I want it such that when a user reads the news, he sees something like > > --- > Saturday 25th March 2001 > New mirror up on PHP - posted by Zeus @ 00:00 GMT +8 > > news news news news news news news news news news news news news > --- > > That sort of thing, how can I go about? > > > > > - Original Message - > From: elias <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, 11 April, 2001 7:23 AM > Subject: Re: [PHP] Inserting time + date entry into mySQL DB > > > > No under windows doesn't work. > > you have to enter a value in that field with value NOW() > > > > -elias > > http://www.kameelah.org/eassoft > > > > "Michael Hall" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > > > > Create a field in your table called something like 'date' and make its > > > data type TIMESTAMP. MySQL will automatically add a timestamp with each > > > new entry ... assuming you're using UNIX, I don't know about windows. > > > > > > Mick > > > > > > > I know this has been brought up repeatedly but I couldn't find the > > archives website. > > > > I'm doing a news publishing script (something like newsphp \ php-nuke) > > but uses mySQL to store all the data instead of flat files. > > > > I would like to make it such that everytime I submit an news entry, > the > > time\date will automatically be inserted in that row. > > > > Could someone give me some suggestions? > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] L? Roman function
Hi there. I picked up this function several years ago. See if this can help you see what the roman value for an arabic number is. //Calculates the Roman numerals for the given Arabic number. // Returns '' on error. function to_roman($num) { // There is no '0' or negative numbers in Roman numerals. // Also, anything not in [0-9] is bad input. if (!ereg('^[0-9]+$', $num) || ((int)$num == 0)) { return(''); } // Do some setup $num = (int)$num; $letter[10] = array('X', 'C', 'M'); $letter[5] = array('V', 'L', 'D'); $letter[1] = array('I', 'X', 'C'); $roman = ''; // Numbers > 1000 are a special case. // (No letters > 'M') $digit = (int)($num / 1000); $num -= ($digit * 1000); while ($digit > 0) { $roman .= 'M'; $digit--; } // Do the work for ($i=2; $i>=0; $i--) { $power = pow(10, $i); $digit = (int)($num / $power); $num -= ($digit * $power); if (($digit == 9) || ($digit == 4)) { $roman .= $letter[1][$i] . $letter[$digit+1][$i]; } else { if ($digit >= 5) { $roman .= $letter[5][$i]; $digit -= 5; } while ($digit > 0) { $roman .= $letter[1][$i]; $digit--; } } } // If we didn't use up $num, something broke. if ($num > 0){ return(''); } return($roman); } On Tue, 10 Apr 2001, bill wrote: > I think L is 50. > > bill > > Kurth Bemis wrote: > > > what does the roman numeral L mean? > > > > can someone point me to a page that has all of the roman numerals and their > > English equivlents? > > > > i forgot? > > > > ~kurth > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- Knut -- Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian University of Science and Technology / NTNU Department of Computer and Information Science / IDI N-7491 Trondheim, Norway Phone Office / Telefon jobb : (+47) 73 59 18 46 Fax Office / Telefax jobb : (+47) 73 59 17 33 Cell. Phone / Mobiltelefon : 91 59 86 06 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] RE: list files in a diretory
function sitemap($ddPath) { $dhandle = opendir($ddPath); echo(""); while ($ddFile = readdir($dhandle)) { if ($ddFile == "." or $ddFile == "..") continue; // trap . and .. echo("".$ddFile . ""); if (is_dir($ddPath . $ddFile)) sitemap($ddPath . $ddFile . "/"); }; closedir($dhandle); echo(""); }; just call it by passing in the path to the directory you want to list and it'll give you a full listing below that point Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]] > Sent: 09 April 2001 17:06 > To: [EMAIL PROTECTED] > Subject: list files in a diretory > > > How can I list the files in a diretory? > > Something like, get the files name in an array... > > thanks, > > Augusto Cesar Castoldi > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: Back Button Dilemma's
You may use a hidden field wich tells you what current step is. If it is lower that your current page expects to be, you may take the proper action (here the most simple, die() ) Look at this simple script: ==SCRIPT BEGINS HERE here you can put "<=2" , as you need.. die ( "Error, we've been already here!" ) ; ?> .. ===SCRIPT ENDS HERE >Hi Guys, > >I know everywhere it says that it is not possible to actually disable = >the back button, and people have offered some solutions that have not = >worked for me, this is why I am emailing this list. >I have a form which displays the same page with new content (controlled = >by a counter) in a loop until an exit point is reached. When the user = >clicks back on the browser the counter still increments and the screen = >continues like the user pressed the continue button (which is the = >process I want the user to take). The problem is the user did not make = >a selection and this is where the problem lies (it takes the default, = >which throws the whole process out of whack). > >The question I am asking is how can I prevent the user trying to go = >back? Is there any code out there which can counter this action (and = >not cause my counter to increment, thus moving the user to the next = >screen)? Is there any way to detect that the back button/option has = >been selected and display a "warning" type page before going back to = >where the user is? The forward counter action does not really fix my = >problem. > >Thanks, >Michael. > >Chief Information Officer, >RealGM, Inc. >http://www.realgm.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Commercial sites that use PHP
Can anyone send me a list of large commercial web sites that use PHP? I am trying to move to PHP here at work but I need some examples to impress the boss!!! Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] MySql: Default values
hehe ;) where you from? :) "Michael Hall" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Mumkin ya elias, ana ma afhamsh su'aalak mnih! > > Not exactly sure what you mean elias. > TIMESTAMP in MySQL is a datatype more than a function, but I'm not > absolutely sure about that. > > Mick > > > On Tue, 10 Apr 2001, elias wrote: > > > Can a default field value in MySql be a function? > > > > Like default value of a date field should be the built-in function NOW()? > > > > anything like what i'm asking for? > > > > -elias > > http://www.kameelah.org/eassoft > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Commercial sites that use PHP
http://www.zend.com/zend/cs/ Regards, Dominick -Original Message- From: Phil Labonte [mailto:[EMAIL PROTECTED]] Sent: dinsdag 10 april 2001 15:52 To: [EMAIL PROTECTED] Subject: [PHP] Commercial sites that use PHP Can anyone send me a list of large commercial web sites that use PHP? I am trying to move to PHP here at work but I need some examples to impress the boss!!! Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] @Listing - causing pasre error
Hi everybody, I want to write to a given file using the code below. Somehow I get the parse error. I thnk it has something to do with --- @Listing Is this a setting in my php.ini which is wrong or is the code maybe wrong (I copied it out of a php text book.) Thanx Wilbert "; echo ""; echo ""; echo ""; echo ""; ?> - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl [EMAIL PROTECTED] - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Inserting time + date entry into mySQL DB
I believe there is some misunderstandings... I believe Zeus just doesn't know how to insert current date in his database: ie: INSERT INTO MyTable(other_field, date_field) VALUES('adasd', NOW()) this will insert in your date field the current datetime. -elias http://www.kameelah.org/eassoft "Michael Hall" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > This is all explained in the PHP manual under dates. > Assuming you have a field called 'date' with a timestamp in it, > you can format the date like this: > > $date = date("l jS F Y", $date); > > But there are a lot of options so read the manual. > > Mick > > > I want it such that when a user reads the news, he sees something like > > > > --- > > Saturday 25th March 2001 > > New mirror up on PHP - posted by Zeus @ 00:00 GMT +8 > > > > news news news news news news news news news news news news news > > --- > > > > That sort of thing, how can I go about? > > > > > > > > > > - Original Message - > > From: elias <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, 11 April, 2001 7:23 AM > > Subject: Re: [PHP] Inserting time + date entry into mySQL DB > > > > > > > No under windows doesn't work. > > > you have to enter a value in that field with value NOW() > > > > > > -elias > > > http://www.kameelah.org/eassoft > > > > > > "Michael Hall" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > > > > > > > Create a field in your table called something like 'date' and make its > > > > data type TIMESTAMP. MySQL will automatically add a timestamp with each > > > > new entry ... assuming you're using UNIX, I don't know about windows. > > > > > > > > Mick > > > > > > > > > I know this has been brought up repeatedly but I couldn't find the > > > archives website. > > > > > I'm doing a news publishing script (something like newsphp \ php-nuke) > > > but uses mySQL to store all the data instead of flat files. > > > > > I would like to make it such that everytime I submit an news entry, > > the > > > time\date will automatically be inserted in that row. > > > > > Could someone give me some suggestions? > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
I don't know if he'll be impressed, but I am :-) http://www.gdd.net Offers free Cisco Training as well as High School and College level essays. Clayton Dukes CCNA, CCDA, CCDP, CCNP Internetwork Solutions Engineer Internetwork Management Engineer Thrupoint, Inc. Tampa, FL (c) 904.477.7825 (h) 904.292.1881 - Original Message - From: "Phil Labonte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 9:52 AM Subject: [PHP] Commercial sites that use PHP > Can anyone send me a list of large commercial web sites that use PHP? > > I am trying to move to PHP here at work but I need some examples to impress > the boss!!! > > Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] @Listing - causing pasre error
> I want to write to a given file using the code below. Somehow I get the > parse error. I thnk it has something to do with --- @Listing > Is this a setting in my php.ini which is wrong or is the code maybe wrong (I > copied it out of a php text book.) What is this @Listing thing supposed to do? The @ character is used to swallow errors/warnings from a function call. The way you are using it is completely invalid. It is documented here: http://www.php.net/manual/en/language.operators.errorcontrol.php -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
this is a commercial site. site : http://www.goodlookingindia.com pl. send me your complete reviews on it . it will be very very helpful to me. - keyur $$$ - Original Message - From: "Phil Labonte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 7:22 PM Subject: [PHP] Commercial sites that use PHP > Can anyone send me a list of large commercial web sites that use PHP? > > I am trying to move to PHP here at work but I need some examples to impress > the boss!!! > > Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Review
Hello everybody, I recently developed this site : http://www.goodlookingindia.com . I am adding many more sections in it. Pl. let me know how can i improve the performance of this site. Your reviews will be very helpful to me. Thanks in advance. Keyur $$$ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
www.businessmeetings.com is another commercial site that I ported from ASP to PHP 12 months ago. Andy Woolley. www.databasewatch.com > - Original Message - > From: "Phil Labonte" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 10, 2001 7:22 PM > Subject: [PHP] Commercial sites that use PHP > > > > Can anyone send me a list of large commercial web sites that use PHP? > > > > I am trying to move to PHP here at work but I need some examples to > impress > > the boss!!! > > > > Thanks > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
GoEureka, one of Australia's biggest search engines, uses php on at least part of its site: see http://www.goeureka.com.au Mick On Tue, 10 Apr 2001, Phil Labonte wrote: > Can anyone send me a list of large commercial web sites that use PHP? > > I am trying to move to PHP here at work but I need some examples to impress > the boss!!! > > Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] user login
I know it is possible, I'm just not sure how, but I want a user to log into the site then if they enter information into a form the database not only stores the form info but also who entered it, so I would have a field called user and it would either get theinformation from a cookie,which I have already tried but am not having much luck with or is there a way of avoiding cookies altogether and using the database on it's own, which would suit me better. Thanks in Advance George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] user login
You can use session management keyur - Original Message - From: "george" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 8:19 PM Subject: [PHP] user login > I know it is possible, I'm just not sure how, but I want a user to log into > the site then if they enter information into a form the database not only > stores the form info but also who entered it, so I would have a field called > user and it would either get theinformation from a cookie,which I have > already tried but am not having much luck with or is there a way of avoiding > cookies altogether and using the database on it's own, which would suit me > better. > > Thanks in Advance > > George > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Fwd:
can the moderator please boot this person from the list? ~kurth >Delivered-To: [EMAIL PROTECTED] > >Date: Tue, 10 Apr 2001 09:56:07 +0300 >From: >To: <[EMAIL PROTECTED]> >Message-Id: <0104100956074836@parkntsrv> > >This is a description of the listmanager commands recognized by the >XtraMail SMTP/POP3 service. > > > >JOIN or SUBSCRIBE >- >The join or subscribe commands are used by users, where want to join the >list. >This commands are only accepted if allowed. Otherwise, the owner gets a >messages >about the user request. > >Usage: >join listname, [mail address], [full name] >or >subscribe listname, [mail address], [full name] > >The values inside the braces are optional. If no mail address is given, the >known values will be used. > > > >LEAVE or UNSUBSCRIBE > >Users can leave the list automatically using the leave or unsubscribe command. > >Usage: >leave listname, [mail address] >or >unsubscribe listname, [mail address] > >The values inside the braces are optional. If no mail address is given, the >known values will be used. > > >LISTS >- >Use this command to get a list of all local public mailing lists that are >served by this server. > >Usage: lists > >This command has no arguments > > > >WHICH >- >This command gives you listing of all mailing lists to which you have >subscribed. > >Usage: which [mail address] > >The values inside the braces are optional. If no mail address is given, the >known values will be used. > > > >RECIPIENTS or REVIEW > >Get a listing of all members of the specified mailing list. > >Usage: >recipients >or >review > > > >HELP > >Use this command to get a description of all listmanager commands (This file). > >Usage: help > >This command has no arguments. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
This looks like an old copy of sites.php : http://www.phpinfo.com/sites.php Btw, why has the following been removed? http://www.php.net/sites.php To difficult to maintain I suppose. At any rate, you'll find some good examples. Regards, Philip On Tue, 10 Apr 2001, Phil Labonte wrote: > Can anyone send me a list of large commercial web sites that use PHP? > > I am trying to move to PHP here at work but I need some examples to impress > the boss!!! > > Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
Phil Labonte wrote: > Can anyone send me a list of large commercial web sites that use PHP? > > I am trying to move to PHP here at work but I need some examples to impress > the boss!!! > > Thanks We are working on compiling a list of these - anyone with information, please email me as well, and we'll include you. On to the topic at hand - what will impress your boss? Size of the site in pages? pageviews? number of servers? concurrent users? dollars the site cost to product? how many people it takes to run it? NUMBERS -- We migrated a site from NT/ASP to Linux/PHP. It used to require 5-6 machines - we *could* run it on one now, but keep 3 balanced for redundancy. (same exact hardware). People impressed with how large your server farm is would be disappointed in our PHP solution. We handle up to a few hundred simultaenous users at any one time, often doing a number with a lot of zeros after it in a single day of commerce (can't give exact figures here). Our local store - affordablecomputers.com, is pushing about 7 million page views/month (all dynamic PHP stuff) from one machine. neopets.com is pushing 40+ million page views per day in PHP. OTHER NAMES IPOFinancial.com is a client of ours - not necessarily a huge site, but it's extremely important to his business, and it runs on Linux/PHP. Also in the financial realm, my.zacks.com appears to run PHP. Zacks is a pretty big name. livebid.amazon.com was running PHP at one point. I think it still is. aspsourcecode.com runs PHP. :) Those are just a few of what I know. As I wrote before, we're putting together a collection of this type of info for future reference. Anyone with more info, please contact me. Thanks. :) Michael Kimsal mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Oracle Connection
Greetings, I need to access a remote oracle database. What I mean is that the machine that is allowed access to the oracle database is not running php...I have access to the machine with the oracle access from my machine which is running php. Boy that sounds confusing. anyway I am setting my environment with putenv(oracle_home=/something) and putenv(oracle_sid=database)...what can I do? any ideas? Brian D. Running PHP 4 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD today. However, I do not have an OpenBSD box, does anyone out there want to try and build the latest cvs with --enable-sockets on OpenBSD? Thanks, -Jason - Original Message - From: "Jani Taskinen" <[EMAIL PROTECTED]> To: "Jason Greene" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 5:01 AM Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > > Have you tested it on Linux, FreeBSD, OpenBSD... ? :) > If you know for sure it will work on these, go ahead. > > --Jani > > On Mon, 9 Apr 2001, Jason Greene wrote: > > >Everyone, > > > >Can I merge this into the current RC? This should not cause > >any problems. > > > >-Jason > > > >- Original Message - > >From: "Jason Greene" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Monday, April 09, 2001 10:16 PM > >Subject: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > > > > > >> jason Mon Apr 9 20:16:06 2001 EDT > >> > >> Modified files: > >> /php4/ext/sockets sockets.c > >> Log: > >> Fix for PR #9729, 9664, 9656, 8667. > >> All compilers on Solaris should build this extension correctly now. > >> It turns out the SUN CC, by default, enables a define that enables the use of > >> #pragma redefine extname in sun header files. This is why cc would work, > >> and gcc wouldn't. > >> > >> -Jason > >> > >> > >> Index: php4/ext/sockets/sockets.c > >> diff -u php4/ext/sockets/sockets.c:1.33 php4/ext/sockets/sockets.c:1.34 > >> --- php4/ext/sockets/sockets.c:1.33 Thu Mar 22 05:16:58 2001 > >> +++ php4/ext/sockets/sockets.c Mon Apr 9 20:16:05 2001 > >> @@ -17,7 +17,7 @@ > >> +--+ > >> */ > >> > >> -/* $Id: sockets.c,v 1.33 2001/03/22 13:16:58 sniper Exp $ */ > >> +/* $Id: sockets.c,v 1.34 2001/04/10 03:16:05 jason Exp $ */ > >> > >> #include "php.h" > >> > >> @@ -34,6 +34,10 @@ > >> #define _XOPEN_SOURCE_EXTENDED > >> #define _XPG4_2 > >> #define __EXTENSIONS__ > >> + > >> +#ifndef __PRAGMA_REDEFINE_EXTNAME > >> +#define __PRAGMA_REDEFINE_EXTNAME > >> +#endif > >> > >> #include "ext/standard/info.h" > >> #include "php_sockets.h" > >> > >> > >> > >> -- > >> PHP CVS Mailing List (http://www.php.net/) > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> To contact the list administrators, e-mail: [EMAIL PROTECTED] > >> > > > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Oracle Connection
At 08:42 AM 4/10/01 -0700, Dunaway, Brian wrote: >I need to access a remote oracle database. What I mean is that the machine >that is allowed access to the oracle database is not running php...I have >access to the machine with the oracle access from my machine which is >running php. Boy that sounds confusing. No, not really. >anyway I am setting my environment with putenv(oracle_home=/something) and >putenv(oracle_sid=database)...what can I do? any ideas? I'm assuming that this isn't working for you. Make sure you set NLS_LANG etc, as well in your environment, as specified in the PHP documentation. Do you have an Oracle client installed on the machine that has PHP installed on it? Did you compile PHP with oci8 support? Here, our web server (Linux) has Apache/PHP and Oracle Net8 client installed. The Net8 client talks to our Sun box with Oracle 8i installed. Works with PHP with no hitches. >Brian D. yeah, me too. :) >Running PHP 4 yeah, me too. :) - Brian - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 <[EMAIL PROTECTED]> - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Netscape security error
I am receiving a Netscape security error (version 4.7) when attempting to submit my form without a complete email address. Here is the link: http://www.contus.com/test/golf/page.php3?site=contusgolf&page=golf%20tours&; ad=golf At this page choose the any hyper link named "Contact us for more Information" A quote form will come up. My calling script is set up to check the name and email field or name and phone fields to ensure they are not blank. Here is the code to check the form fields: if (isset($miniquote_submit)) { if ( ($sender_name != "") && ( ( ($Contact != "Contact by Phone") && ($email != "") ) || ( ($Contact == "Contact by Phone") && ($Phone != "") ) ) ) If I enter an incomplete or blank email address I receive the NS security issue. The code should be checking the Contact field -- and if it is set to phone should ignore the blank email field. Also since my error checking code is simplistic, it really should allow any value in the email field and it should process -- however if I simply enter "cc" I receive the same security error. I have been looking at this issue for a couple days now. It works OK for me on IE-- and also on a different server. The server that I am having the problems with has php 4.0B2 installed. I would appreciate any insight! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
On 10 Apr 2001 06:52:07 -0700, Phil Labonte <[EMAIL PROTECTED]> wrote: >Can anyone send me a list of large commercial web sites that use PHP? Cribbed mercilessly from a number of sources: http://gateway.digitaria.com/~chris/php/sites.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
Well since nobody else has chimed in(barring the fact it may be in one of the already recommended lists) sourceforge is made with php, and is a pretty noteworthy site. -- phill "Phil Labonte" <[EMAIL PROTECTED]> wrote in message 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE... > Can anyone send me a list of large commercial web sites that use PHP? > > I am trying to move to PHP here at work but I need some examples to impress > the boss!!! > > Thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
Along with VaLinux.com and all new VA sites. Penguin Computing dies too. Michael On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote: > Well since nobody else has chimed in(barring the fact it may be in one > of > the already recommended lists) sourceforge is made with php, and is a > pretty > noteworthy site. > -- > phill > > "Phil Labonte" <[EMAIL PROTECTED]> wrote in message > 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE... >> Can anyone send me a list of large commercial web sites that use PHP? >> >> I am trying to move to PHP here at work but I need some examples to > impress >> the boss!!! >> >> Thanks >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: php-list- >> [EMAIL PROTECTED] >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] ezpublish installation
Hi, I think I finally found a cms that does most of what I want it to: ezpublish (http://developer.ez.no/article/archive/4/) I'm trying to install it, I'm on a apache server, a few questions: 1. how do I install Imagemagick? Seems I need to recompile PHP and do --with-imagick=DIR, is that correct? Do I need to install Imagemagick before I do that, or just download it and untar it in the right directory? 2. Where can I get libXml2 version > 2.2.9 and libQdom? Same question as above: how do I install them? Thanks! Finally: I can't find a readme to install this ezpublish, which is really weird. It must be there? Thanks for any tips Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Commercial sites that use PHP
Does anyone know what Yahoo uses? It's obviously some form of scripting... especially at http://my.yahoo.com. I've always been curious about what they are using as their parser... it appears to spit out pure HTML, so it acts like PHP... Any thoughts? -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 9:27 AM To: Phillip Bow Cc: [EMAIL PROTECTED] Subject:Re: [PHP] Commercial sites that use PHP Along with VaLinux.com and all new VA sites. Penguin Computing dies too. Michael On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote: > Well since nobody else has chimed in(barring the fact it may be in one > of > the already recommended lists) sourceforge is made with php, and is a > pretty > noteworthy site. > -- > phill > > "Phil Labonte" <[EMAIL PROTECTED]> wrote in message > 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE... >> Can anyone send me a list of large commercial web sites that use PHP? >> >> I am trying to move to PHP here at work but I need some examples to > impress >> the boss!!! >> >> Thanks >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: php-list- >> [EMAIL PROTECTED] >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] can't restart apache, help needed
do you have php3 installed still? if so, your mime types might be conflicting or something On 4/10/01 3:35 AM, "Thomas Angst" <[EMAIL PROTECTED]> wrote: > I didn't get any further errors as this in /ver/log/httpd/error_log: > PHP Warning: Function registration failed - duplicate name - define in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - defined in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - each in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - strlen in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - strcmp in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - strcasecmp in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - > error_reporting in Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - leak in > Unknown on line 0 > PHP Warning: Function registration failed - duplicate name - > function_exists in Unknown on line 0 > PHP Warning: Basic Functions: Unable to register functions, unable to load > in Unknown on line 0 > > and /sbin/init.d does no more exist > > Thomas > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] mysql .. quick question
I really need help. I cant seem to get phpMyAdmin to put my backup dbase onto the new server. I always get some stupid error because of the html which is stored in the dbase. Does someone know of a cgi script that would do it successfully, or maybe a telnet command that will dump it? Any help is greatly appreciated. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
Brent Langston wrote: > Does anyone know what Yahoo uses? It's obviously some form of scripting... > especially at http://my.yahoo.com. I've always been curious about what they > are using as their parser... it appears to spit out pure HTML, so it acts > like PHP... > > Any thoughts? No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier, etc. I think it's pretty impossible to tell what someone's using unless they announce via file extensions or something, and even then you can't always tell. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
Hello, I am offering php hosting with features at a price no one else has, as far as I know. I'm not going to create a giant web hosting service. I'm doing this to pay for my web portal. - This web portal has been operated by the same person (my partner) for over four years. I have been a co-administrator for about six months. - this is on a dedicated server with OC3+ connection, bandwidth is guaranteed - 24/7 uptime is guaranteed, last reboot was 2/12/01. This site will not be down for more than one hour per year. - The computer running this site is at a web server farm in a protected building. Any hardware that fails is replaced immediately. - no bandwidth sucking sites are allowed, e.g. porno, fileserver, video, etc. - php 4.02 is installed - perl 5.0x and DBI are installed - MySQL 3.23.32 and PostgreSQL 7.0.3 are set up - You get a total of two databases - You get five email addresses, telnet, ssh, and ftp access - I will set up your domain name for an extra $15 or you can put your site at www.singlesconnection.org/ - you get 40MB of hd space - webserver is Apache 1.3.12 and Red Hat Linux with kernel 2.2.18 - hardware - Pentium II with 128MB ram, scsi hard drive My name is Jeffrey Greer. You can mail me at [EMAIL PROTECTED] You can view more info at http://www.singlesconnection.org/services/php_hosting.php -- Jeff Greer - B.S. computer science - Univ. MO - Rolla - I do web hosting and development. Details at http://www.singlesconnection.org/services/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
Yes, we know, you've told us three times now. -Original Message- From: Jeffrey Greer [mailto:[EMAIL PROTECTED]] Sent: 10 April 2001 17:45 To: [EMAIL PROTECTED] Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ Hello, I am offering php hosting with features at a price no one else has, as far as I know. I'm not going to create a giant web hosting service. I'm doing this to pay for my web portal. ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] MySql: Default values
on 4/10/01 7:23 PM, elias at [EMAIL PROTECTED] wrote: > Can a default field value in MySql be a function? no. > Like default value of a date field should be the built-in function NOW()? still, nope. > anything like what i'm asking for? ahhh- if you are looking for a way to automatically have a timestamp inserted into a record, make a new field of type timestamp that is not null. if you don't insert any value into the timestamp field it will use the current date-time. have a great day andy -- *** Andrew Rush :: Lead Systems Developer :: MaineToday.com *** "A friend of the devil is a friend of mine" - R. Hunter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Developing new PHP modules
Hi all, I don't know if I'm in the correct mailling list or not, but could someone provide me with some information about the developement of new PHP modules (documentation, source-code, ...) ? Thanks in advance. Best regards, _ Carlos Serrão [EMAIL PROTECTED] http://www.carlos-serrao.com DCTI - IS/IT DepartmentIS/IT Research and Development ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal Tel.: +351217903064/+351217903901 Fax: +351217935300 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c
> Hello Guys, > > do you think this should be merged to the 4.0.5 branch? Otherwise Blowfish > (and others) encrypted get initialised with a too long key. That caused > them to be not compatible with encryptions/decryptions made by other > programs. As the poster of the original bug report, I strongly suggest this be merged into 4.0.5. As it stands, PHP's blowfish encryption isn't compatible with any other blowfish-encrypted programs, and should be fixed sooner rather than later. Of course, it will require a big note in the NEWS file ... :) - Colin P.S. Thank you Derick for figuring this out! :) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Commercial sites that use PHP
Yahoo uses a lot of Python. Yahoo Mail pages have extensions of .py, indicating Python. Yahoo acquired eGroups and Google this past year, both of which openly use Python to generate pages. They most likely use Python in conjunction with other scripting and compiled languages. -Ben -Original Message- From: Michael Kimsal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 9:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Commercial sites that use PHP Brent Langston wrote: > Does anyone know what Yahoo uses? It's obviously some form of scripting... > especially at http://my.yahoo.com. I've always been curious about what they > are using as their parser... it appears to spit out pure HTML, so it acts > like PHP... > > Any thoughts? No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier, etc. I think it's pretty impossible to tell what someone's using unless they announce via file extensions or something, and even then you can't always tell. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4
rasmus Tue Apr 10 09:00:19 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Fix Kevin's password and add some karma Index: CVSROOT/avail diff -u CVSROOT/avail:1.142 CVSROOT/avail:1.143 --- CVSROOT/avail:1.142 Mon Apr 9 13:32:31 2001 +++ CVSROOT/avail Tue Apr 10 09:00:18 2001 @@ -2,12 +2,12 @@ unavail avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane|CVSROOT avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,cmv,tcobb,gareth,jah,eschmid,ronabop,derick,sterling,stas,phildriscoll,jmoore,andre,sniper,david,lyric,zimt,mk,goba,zak,jmcastagnetto,dams|phpweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang,jon,rael,jlp,sbergmann,troels,urs,jpm,adaniel,tuupola,mj,ssb,metallic,heyesr,aj,andre,zimt,uw,jeichorn,bjoern,chregu,bkelly,tfromm,subjective,cox,mboeren,fireclaw,jmcastagnetto|php4/pear,pearweb,pear -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang|php4,php3,php31,phpfi -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang,hholzgra|functable +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang,kevin,jon,rael,jlp,sbergmann,troels,urs,jpm,adaniel,tuupola,mj,ssb,metallic,heyesr,aj,andre,zimt,uw,jeichorn,bjoern,chregu,bkelly,tfromm,subjective,cox,mboeren,fireclaw,jmcastagnetto|php4/pear,pearweb,pear +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang,kevin|php4,php3,php31,phpfi +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang,kevin,hholzgra|functable avail|rasmus,sterling,jimw,ssb|pres avail|jalal,zak,andre,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben,hellekin,cnewbill|qaweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,wez,sasha,camber,ohrn,romolo,martin,lurcher,wsanchez,dreid,dbenson,bmcadams,swm,zhang,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin
[PHP-CVS] cvs: CVSROOT / cvsusers
rasmus Tue Apr 10 09:16:17 2001 EDT Modified files: /CVSROOTcvsusers Log: Fix email address Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.253 CVSROOT/cvsusers:1.254 --- CVSROOT/cvsusers:1.253 Mon Apr 9 13:32:31 2001 +++ CVSROOT/cvsusersTue Apr 10 09:16:16 2001 @@ -177,7 +177,7 @@ eriksson David Eriksson [EMAIL PROTECTED] Corba extension troelsTroels Arvin[EMAIL PROTECTED] Documentation, PEAR wez Wez Furlong [EMAIL PROTECTED]OpenSSL Support -kevin Kevin N Shallow [EMAIL PROTECTED] Velocis +kevin Kevin N Shallow [EMAIL PROTECTED] Velocis mkong Martin Kong [EMAIL PROTECTED] Character set conversion routines mhoh MyungHwan Oh[EMAIL PROTECTED] UniSQL sasha Alexander Feldman [EMAIL PROTECTED] Bug fixes -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Commercial sites that use PHP
> Yahoo acquired eGroups and Google this past year, Hum, I think yahoo bought google's technology but not the company. Google.com is using Perl, Python, Java/Servlet/JSP and C++. Well that is what they ask for in their job oppenings. py At 10:20 AM 4/10/01 -0700, you wrote: >Yahoo uses a lot of Python. Yahoo Mail pages have extensions of .py, >indicating Python. Yahoo acquired eGroups and Google this past year, both >of which openly use Python to generate pages. They most likely use Python >in conjunction with other scripting and compiled languages. > >-Ben > >-Original Message- >From: Michael Kimsal [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, April 10, 2001 9:47 AM >To: [EMAIL PROTECTED] >Subject: Re: [PHP] Commercial sites that use PHP > > > > >Brent Langston wrote: > > > Does anyone know what Yahoo uses? It's obviously some form of >scripting... > > especially at http://my.yahoo.com. I've always been curious about what >they > > are using as their parser... it appears to spit out pure HTML, so it acts > > like PHP... > > > > Any thoughts? > >No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier, >etc. >I think it's pretty impossible to tell what someone's using unless they >announce > >via file extensions or something, and even then you can't always tell. > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] + == + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + [EMAIL PROTECTED] + == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /ext/odbc Makefile.in config.m4 php_odbc.c php_odbc.h
kevin Tue Apr 10 09:26:29 2001 EDT Modified files: /php4/ext/odbc Makefile.in config.m4 php_odbc.c php_odbc.h Log: Fixed compatibility issues in the ODBC extension for the Velocis Database server. Specifically, config.m4 was changed to use the client libraries instead of the serer libraries, and to look for the libs in the $RDSHOME/lin directory ass opposed to the $RDSHOME/bin directory. Makefile.in was changed to use the php_odbc.c file as the source for Velocis support. Other misc changes include a few #defines for some undefined data types and some #ifdefs for unsupported functions. Index: php4/ext/odbc/Makefile.in diff -u php4/ext/odbc/Makefile.in:1.7 php4/ext/odbc/Makefile.in:1.8 --- php4/ext/odbc/Makefile.in:1.7 Thu Jul 6 01:38:12 2000 +++ php4/ext/odbc/Makefile.in Tue Apr 10 09:26:27 2001 @@ -1,6 +1,6 @@ LTLIBRARY_NAME= libodbc.la -LTLIBRARY_SOURCES = php_odbc.c velocis.c +LTLIBRARY_SOURCES = php_odbc.c LTLIBRARY_SHARED_NAME = odbc.la LTLIBRARY_SHARED_LIBADD= $(ODBC_LFLAGS) $(ODBC_LIBS) Index: php4/ext/odbc/config.m4 diff -u php4/ext/odbc/config.m4:1.38 php4/ext/odbc/config.m4:1.39 --- php4/ext/odbc/config.m4:1.38Tue Apr 3 16:30:44 2001 +++ php4/ext/odbc/config.m4 Tue Apr 10 09:26:27 2001 @@ -213,6 +213,7 @@ ODBC_LIBDIR=$withval/lib fi ODBC_INCLUDE=-I$ODBC_INCDIR +ODBC_LFLAGS=-L$ODBC_LIBDIR ODBC_TYPE=empress AC_DEFINE(HAVE_EMPRESS,1,[ ]) AC_MSG_RESULT(yes) @@ -232,24 +233,21 @@ install directory, defaults to /usr/local/velocis.], [ PHP_WITH_SHARED + if test "$withval" != "no"; then if test "$withval" = "yes"; then - ODBC_INCDIR=/usr/local/velocis/include - ODBC_LIBDIR=/usr/local/velocis +ODBC_INCDIR=/usr/local/velocis/include +ODBC_LIBDIR=/usr/local/velocis/lib else - ODBC_INCDIR=$withval/include - ODBC_LIBDIR=$withval +ODBC_INCDIR=$withval/include +ODBC_LIBDIR=$withval/lib fi ODBC_INCLUDE=-I$ODBC_INCDIR -ODBC_LIBDIR="$ODBC_LIBDIR/bin" -case `uname` in - FreeBSD|BSD/OS) -ODBC_LIBS="$ODBC_LIBDIR/../lib/rdscli.a -lcompat";; - *) -ODBC_LIBS="-l_rdbc -l_sql";; -esac ODBC_TYPE=velocis +ODBC_LFLAGS=-L$ODBC_LIBDIR +ODBC_LIBS="-lCadm -lCdict -lCenc -lCrdm -lCrpc -lCrdbc -lCrm -lCuapi -lutil" AC_DEFINE(HAVE_VELOCIS,1,[ ]) + AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) Index: php4/ext/odbc/php_odbc.c diff -u php4/ext/odbc/php_odbc.c:1.76 php4/ext/odbc/php_odbc.c:1.77 --- php4/ext/odbc/php_odbc.c:1.76 Mon Apr 2 08:18:47 2001 +++ php4/ext/odbc/php_odbc.cTue Apr 10 09:26:27 2001 @@ -15,10 +15,11 @@ | Authors: Stig Sæther Bakken <[EMAIL PROTECTED]>| | Andreas Karajannis <[EMAIL PROTECTED]> | | Frank M. Kromann <[EMAIL PROTECTED]> Support for DB/2 CLI | + | Kevin N. Shallow <[EMAIL PROTECTED]> Velocis Support | +--+ */ -/* $Id: php_odbc.c,v 1.76 2001/04/02 15:18:47 lurcher Exp $ */ +/* $Id: php_odbc.c,v 1.77 2001/04/10 16:26:27 kevin Exp $ */ #include "php.h" #include "php_globals.h" @@ -103,15 +104,17 @@ PHP_FE(odbc_columns, NULL) PHP_FE(odbc_gettypeinfo, NULL) PHP_FE(odbc_primarykeys, NULL) -#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) &&!defined(HAVE_SOLID_35)/* not supported now */ +#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) +&&!defined(HAVE_SOLID_35) && !defined(HAVE_VELOCIS)/* not supported now */ PHP_FE(odbc_columnprivileges, NULL) PHP_FE(odbc_tableprivileges, NULL) #endif -#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)/* not supported */ +#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35) /* not +supported */ PHP_FE(odbc_foreignkeys, NULL) PHP_FE(odbc_procedures, NULL) +#if !defined(HAVE_VELOCIS) PHP_FE(odbc_procedurecolumns, NULL) #endif +#endif PHP_FE(odbc_specialcolumns, NULL) PHP_FE(odbc_statistics, NULL) PHP_FALIAS(odbc_do, odbc_exec, NULL) @@ -2752,7 +2755,7 @@ } /* }}} */ -#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35) +#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && +!defined(HAVE_SOLID_35) && !defined(HAVE_VELOCIS) /* {{{ proto int odbc_columnprivileges(int connection_id, string catalog, string schema, string table, string column) Returns a result identifier that can be used to fetch a list of columns and associated privileges for the specified table */ PHP_FUNCTION(odbc_columnprivileges) @@ -3079,7 +3082,7 @@ } /* }}} */ -#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SO
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
On Tue, 10 Apr 2001, Jason Greene wrote: > Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD >today. > However, I do not have an OpenBSD box, does anyone out there want to try and > build the latest cvs with --enable-sockets on OpenBSD? I can test to build it... will do in 5 mins. Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
/me counts to himself Yep 3 times, thats as bad as those people who sign up the lottery ads to this list - Original Message - From: "Jon Haworth" <[EMAIL PROTECTED]> To: "'Jeffrey Greer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 12:52 PM Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ > Yes, we know, you've told us three times now. > > > -Original Message- > From: Jeffrey Greer [mailto:[EMAIL PROTECTED]] > Sent: 10 April 2001 17:45 > To: [EMAIL PROTECTED] > Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ > > > Hello, > > I am offering php hosting with features at a price no one else has, as > far as I know. I'm not going to create a giant web hosting service. > I'm doing this to pay for my web portal. > > > > > > ** > 'The information included in this Email is of a confidential nature and is > intended only for the addressee. If you are not the intended addressee, > any disclosure, copying or distribution by you is prohibited and may be > unlawful. Disclosure to any party other than the addressee, whether > inadvertent or otherwise is not intended to waive privilege or confidentiality' > > ** > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / loginfo
rasmus Tue Apr 10 09:31:01 2001 EDT Modified files: /CVSROOTloginfo Log: Fix email address for pear commits Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.40 CVSROOT/loginfo:1.41 --- CVSROOT/loginfo:1.40Tue Feb 27 06:56:43 2001 +++ CVSROOT/loginfo Tue Apr 10 09:31:01 2001 @@ -1,5 +1,5 @@ # -#ident "@(#)cvs/examples:$Name: $:$Id: loginfo,v 1.40 2001/02/27 14:56:43 andrei Exp $" +#ident "@(#)cvs/examples:$Name: $:$Id: loginfo,v 1.41 2001/04/10 16:31:01 rasmus Exp +$" # # The "loginfo" file is used to control where "cvs commit" log information # is sent. The first entry on a line is a regular expression which is tested @@ -42,7 +42,7 @@ .*distributions.* $CVSROOT/CVSROOT/log -s -f $CVSROOT/CVSROOT/mylog -u $USER %s phpweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} phpdoc $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} -pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} +pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} qaweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} portal $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} pres $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: CVSROOT / loginfo
On Tue, 10 Apr 2001 16:31:01 -, Rasmus Lerdorf wrote: >-pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} >+pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} Wouldn't it be better to send the commit messages to [EMAIL PROTECTED] or [EMAIL PROTECTED]? -Martin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Limitation of redirecting using header()?
I am writting a session enabled webapp that has a typical login page. The page submits to itself and upon validation, I want to allow the user to continue on to the next page. >From everything I have read so far, the only way to redirect programmatically is via header(). Unfortunately, what I'm seeing is that while the followup page is loaded, the location in the address bar (of IE 5.5) is not updated. Is this something specific to IE? I would like the address bar to have the correct address instead of the old page. Any suggestions? - Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] url question
I have a php script that browses a database table. You can page through the database table by clicking these links: http://localhost/browse.php?action=first http://localhost/browse.php?action=prev http://localhost/browse.php?action=next http://localhost/browse.php?action=last When you click the 'action=next' link, the script displays the next X records (the script remembers its position within the table). The script also displays a link to a jpeg of the item described in the database table. For example: http://localhost/images/123456.jpg If the user clicks the image link, the browser displays the jpeg. Suppose the user clicks the 'action=next' link, and then clicks an image link. The browser displays the jpeg. When the user clicks the back button, the browser executes the previous link (ie. the 'action=next' link) which displays the next page of database records. I want the browser to NOT display the next page of data. I want the browser to stay on the page that contains the link to the jpeg the user clicked. How can I prevent the previous link from being executed when the user clicks the back button? Thanks - Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
How come no one is subscribing us to any porn lists? Joke!!! Mike -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 5:32 PM To: Jon Haworth; 'Jeffrey Greer'; [EMAIL PROTECTED] Subject: Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ /me counts to himself Yep 3 times, thats as bad as those people who sign up the lottery ads to this list - Original Message - From: "Jon Haworth" <[EMAIL PROTECTED]> To: "'Jeffrey Greer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 12:52 PM Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ > Yes, we know, you've told us three times now. > > > -Original Message- > From: Jeffrey Greer [mailto:[EMAIL PROTECTED]] > Sent: 10 April 2001 17:45 > To: [EMAIL PROTECTED] > Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ > > > Hello, > > I am offering php hosting with features at a price no one else has, as > far as I know. I'm not going to create a giant web hosting service. > I'm doing this to pay for my web portal. > > > > > > ** > 'The information included in this Email is of a confidential nature and is > intended only for the addressee. If you are not the intended addressee, > any disclosure, copying or distribution by you is prohibited and may be > unlawful. Disclosure to any party other than the addressee, whether > inadvertent or otherwise is not intended to waive privilege or confidentiality' > > ** > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
Thanks, -Jason - Original Message - From: "Derick Rethans" <[EMAIL PROTECTED]> To: "Jason Greene" <[EMAIL PROTECTED]> Cc: "Jani Taskinen" <[EMAIL PROTECTED]>; "Jason Greene" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 11:32 AM Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > On Tue, 10 Apr 2001, Jason Greene wrote: > > > Out of those platforms you listed, I have tested this on Linux. I will test >FreeBSD today. > > However, I do not have an OpenBSD box, does anyone out there want to try and > > build the latest cvs with --enable-sockets on OpenBSD? > > I can test to build it... will do in 5 mins. > > Derick Rethans > > - > PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] > SRM: Site Resource Manager - www.vl-srm.net > - > JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] > Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands > - > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]