Re: [PHP] funny unlink problem

2002-01-30 Thread sundogcurt
AARHHH!!! thank you! (man I hate that...) [EMAIL PROTECTED] wrote: I see 55jpg NOT 55.jpg --Tony On Wed, 2002-01-30 at 12:40, sundogcurt wrote: unlink(); help the file I would like to delete (actual path) /home/gruesome/public_html/nuved/clients/prestigemotors/images/55jpg

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Mike Frazer
I have no idea what may work as a permanent fix. It's just one of those annoying Windows errors. I have, however, found that most often there's an error in your code that isn't a compile-time error. Mike Bryan Gintz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Content Management

2002-01-30 Thread bob
Does anyone know of an organization who has built and is maintaining a web content management app for a large site using PHP? -- 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

Re: [PHP] Content Management

2002-01-30 Thread Tony Bibbs
CMS is kind of an ambigous term anymore. I contribute to Geeklog, http://geeklog.sourceforge.net so I'd recommend seeing if that fits your needs. If not, give PHP Nuke, Post Nuke, Scoop and slashcode a look. Not sure what exactly your CMS needs are so I'm not sure if what I just suggested are

[PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread hugh danaher
What I am trying to do is have a line of text break at a space after reading 19 words. Having read the various methods of finding and replacing one character with another, I settled on preg_replace as my best choice, but this function doesn't accept a space in the regular expression slot.

Re: [PHP] Content Management

2002-01-30 Thread Miles Thompson
What do you mean by the term content management? It is a little ambiguous, do you mean something like a wiki? Large is a bit unquantified as well. Like the time I went to the bank and my wife asked be to bring her some money. She was a bit surprise to be handed three bucks; subsequent

RE: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Matthew Walker
$statement=preg_replace(/ /,br,$original,19); Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: hugh danaher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 12:35 PM To: Php-General Subject: [PHP] preg_replace() 'space' the final

Re: [PHP] Book database (slightly OT)

2002-01-30 Thread Erik Price
On Tuesday, January 29, 2002, at 11:38 PM, Boaz Yahav wrote: Why not simply look the ISBN up in one of the big online shops and take the data from there? Amazon? BN? It all depends on what you will do with the data I guess... A good idea, but if you're running a commercial site of some

RE: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Matthew Walker
Note that you can do this: print $row[field_name]; Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Bryan Gintz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 11:49 AM To: PHP List Subject: [PHP] MySQL Fetch_Array VS. Fetch_Object

Re: [PHP] Content Management

2002-01-30 Thread bob
By CMS, I am referring to an application similar to Vignette, that allows users to manage the content on a site through a browser interface. _ Bob Hillhouse

[PHP] Re: preg_replace() 'space' the final frontier

2002-01-30 Thread CC Zona
In article 000801c1a9c5$26007460$017f@localhost, [EMAIL PROTECTED] (Hugh Danaher) wrote: What I am trying to do is have a line of text break at a space after reading 19 words. Having read the various methods of finding and replacing one character with another, I settled on preg

Re: [PHP] Redirect problem.... UGH!!

2002-01-30 Thread Analysis and Solutions
Ben: ? #Header(Location: index.html); ? You need to put the complete URL, not just the file name. By the way, folks, DON'T use JavaScript for redirection (or other essential navigational stuff). Plenty of people out there keep Java'Scrap turned off for security and privacy reasons.

Re: [PHP] Content Management

2002-01-30 Thread Les Neste
When I think content management, I think of: -- separates content from presentation -- ie supports templates with which a content item can be rendered -- allows specification of language (ie French German English whatever) with which content is presented -- provides handy tools for managing

RE: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Matthew Walker
Looking at what you wanted to do, I realized this isn't going to work. That line of code will put a BR between each of the first 19 words. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Matthew Walker Sent: Wednesday, January 30, 2002 12:47 PM To:

Re: [PHP] Redirect problem.... UGH!!

2002-01-30 Thread Jim Lucas [php]
try puting an exit(); after the header(). ? header(location: someplace.html); exit(); ? Jim Lucas - Original Message - From: Ben Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 10:47 AM Subject: [PHP] Redirect problem UGH!! I am trying to put

[PHP] passing socket descriptors between pages

2002-01-30 Thread R'twick Niceorgaw
Hi all, Is there any way to open a persistent socket connection in one script using pfsockopen() and then pass the socket descriptor to other scripts using session variable or some thing like that ? Regards R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Jim Lucas [php]
my question to you is, why do you want to put them into another variable? the $row[field_name]; is already a variable. why not just use that instead? Jim Lucas - Original Message - From: Bryan Gintz [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 10:48

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Jim Lucas [php]
oh and mysql_fetch_object is a little slower then mysql_fetch_array() Jim Lucas - Original Message - From: Bryan Gintz [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 10:48 AM Subject: [PHP] MySQL Fetch_Array VS. Fetch_Object Does anyone know what

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Bryan Gintz
Personal preference, and all my code is written with that so far, but seeing about the speed issue, that might change. Thanks. Jim Lucas [php] wrote: oh and mysql_fetch_object is a little slower then mysql_fetch_array() Jim Lucas - Original Message - From: Bryan Gintz [EMAIL

[PHP] PHP4.0 Apache with WinXP

2002-01-30 Thread Ben Clumeck
I am trying to install Apache and PHP4.0 on WinXP. Does anyone know of any conflicts? Thanks, Ben -- 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

Re: [PHP] Re: Ereg/replace/i/ or something ??

2002-01-30 Thread Lars Torben Wilson
On Wed, 2002-01-30 at 08:16, liljim wrote: Hi Bart, I want to check the data from a form-field if it excists only of digits (0-9) and nothing else. How do I use the ereg()-function for this? Well, I prefer the preg_functions if (!preg_match(/^[0-9]{10}$/, $string)) { // contains

RE: [PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-30 Thread Kevin Stone
Actualy I found it's even easier Jim.. ob_start(); include(templates/$card[template].html); $output = ob_get_contents(); ob_end_clean(); The include() between the start and clean ob_*() functions won't print to the client browser yet still evaluates the ?php?

RE: [PHP] Page Not Found - on IE

2002-01-30 Thread Rick Emery
Is the PHP script you're moving to trying to dao a long or complec database query? that is, are you timing out? -Original Message- From: Bryan Gintz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 12:33 PM To: PHP List Subject: [PHP] Page Not Found - on IE Sometimes with

Re: [PHP] MySQL Fetch_Array VS. Fetch_Object

2002-01-30 Thread Philip Olson
There is no performance/speed issue, the two are identical in speed. This is a personal preference issue. Although, extract() does not work on objects, only arrays. Also, when using _fetch_array, use the second optional parameter, for example: $row = mysql_fetch_array($result,

Re: [PHP] PHP4.0 Apache with WinXP

2002-01-30 Thread Mike Maltese
You should only have the same problems as those of us running it on 2K. =) - Original Message - From: Ben Clumeck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 12:03 PM Subject: [PHP] PHP4.0 Apache with WinXP I am trying to install Apache and PHP4.0 on

[PHP] unset a function?

2002-01-30 Thread Bas Jobsen
Hello, I have this: ? include(file1); function_somename(); include(file2); function_somename(); ? file1 and contain a function definition, but the function in both files had the same name. This will give Cannot redeclare . So can i unset the function before the second include? Tnx, Bas

RE: [PHP] unset a function?

2002-01-30 Thread Rick Emery
what happened when you tried unset()? -Original Message- From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:52 PM To: PHP List Subject: [PHP] unset a function? Hello, I have this: ? include(file1); function_somename(); include(file2); function_somename();

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Mike Frazer blurted I have no idea what may work as a permanent fix. It's just one of those annoying Windows errors. I have, however, found that most often there's an error in your code that isn't a compile-time error. Does the

Re: [PHP] unset a function?

2002-01-30 Thread Bas Jobsen
Hi, ? function bas() {echo hello 1;} bas(); unset(bas); function bas() {echo hello 2;} bas(); ? output: parse error, expecting `T_VARIABLE' or `'$'' Op woensdag 30 januari 2002 21:51, schreef Rick Emery: what happened when you tried unset()? -Original Message- From: Bas Jobsen

Re: [PHP] unset a function?

2002-01-30 Thread Philip Olson
This sounds like a job for include_once www.php.net/include_once regards, Philip Olson On Wed, 30 Jan 2002, Bas Jobsen wrote: Hello, I have this: ? include(file1); function_somename(); include(file2); function_somename(); ? file1 and contain a function definition, but the

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
It does now, but supposedly, it still doesn't work. I tried to force it to look for refresh by making the form action call the script with a unique id Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Mike Frazer blurted I have no idea what may work as a

RE: [PHP] unset a function?

2002-01-30 Thread Rick Emery
include_once() won't help. In fact, he is including each file only once. He wants to have a function with the same name in each file. That's the kicker... -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 3:03 PM To: Bas Jobsen Cc: PHP

Re: [PHP] Editing uploaded file

2002-01-30 Thread will hives
I have this version when I add the image on the add article page, and that works fine... if ($picture != 'none') { $path = /home/€€/€€/php/; $path1 = http://www.€€.net/php/;; $b_id = mysql_insert_id(); $new_pic_name = $b_id$picture_name; $imageFile =

Re: [PHP] unset a function?

2002-01-30 Thread CC Zona
In article Pine.BSF.4.10.10201302054330.27254-10@localhost, [EMAIL PROTECTED] (Philip Olson) wrote: ? include(file1); function_somename(); include(file2); function_somename(); ? file1 and contain a function definition, but the function in both files had the same name.

RE: [PHP] unset a function?

2002-01-30 Thread Philip Olson
include_once() won't help. In fact, he is including each file only once. He wants to have a function with the same name in each file. That's the kicker... oh well that's silly, don't do that. also consider function_exists() regards, Philip Olson -- PHP General Mailing List

[PHP] Re: preg_replace() 'space' the final frontier

2002-01-30 Thread Mike Frazer
PHP gave us strpos() and strrpos(), which find the first and last occurrance of something within a string. What they forgot was rather important: finding the nth occurrance. I wrote some code you can add to your script (or put it in a separate file and require() it) that provides just such a

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Bryan Gintz blurted It does now, but supposedly, it still doesn't work. I tried to force it to look for refresh by making the form action call the script with a unique id What /was/ the URL when it was giving you trouble? - --

Re: [PHP] session data vs cookie data

2002-01-30 Thread Erik Price
On Wednesday, January 30, 2002, at 09:55 AM, Jerry Verhoef (UGBI) wrote: When that happens a user has to relogin. No data will be lost. Jerry So then, do you include a re-login script at the top of every page (for when the session authentication fails)? Or do you have some advanced

[PHP] Re: preg_replace() 'space' the final frontier

2002-01-30 Thread Mike Frazer
NOTE: That was done very quickly and only works on single character searches! I'm working on one that will find multi-character strings. Gimme a few mins and email me off-list if you want it. Mike Mike Frazer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP] Content Management

2002-01-30 Thread Erik Price
On Wednesday, January 30, 2002, at 02:19 PM, [EMAIL PROTECTED] wrote: Does anyone know of an organization who has built and maintains a web content management application for a large site? Zope. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP

[PHP] Re: preg_replace() 'space' the final frontier

2002-01-30 Thread Mike Frazer
Okay that was quicker than I thought. Here's the code to find the nth occurrance of a string within a string: function strnpos($string, $search, $nth) { $count = 0; $len = strlen($string); $slen = strlen($search); for ($i = 0; $i $len; $i++) { if (($i + $slen) $len) { return FALSE; }

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Bryan Gintz
It was was just the script: form name=junk action=script.php method=POST The script was there, and it would work if you refreshed it a bunch, but then it would give page could not display error ?? Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Bryan Gintz

Re: [PHP] How can I decrypt a password I previously coded with md5()?

2002-01-30 Thread Jason G.
Hi Nicolas, I would be interested in seeing the javascript md5 function if possible. Thanks, Jason Garber IonZoft.com At 11:18 AM 1/30/2002 +0100, Nicolas Costes wrote: As already said here, you cannot reverse the md5() function ... So : -The user fills a login box (login,

RE: [PHP] How can I decrypt a password I previously coded with md5()?

2002-01-30 Thread Demitrious S. Kelly
You don’t. md5 is one way encryption -Original Message- From: Jason G. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:06 PM To: Nicolas Costes; Jose; [EMAIL PROTECTED] Subject: Re: [PHP] How can I decrypt a password I previously coded with md5()? Hi Nicolas, I would be

Re: [PHP] Tables Loading Slow

2002-01-30 Thread Adam Leckron
from the PHP manual [flush()] ...Even the browser may buffer its input before displaying it. Netscape, for example, buffers text until it receives an end-of-line or the beginning of a tag, and it won't render tables until the /table tag of the outermost table is seen... even if you're flushing

RE: [PHP] How can I decrypt a password I previously coded with md5()?

2002-01-30 Thread Matthew Walker
Exactly. The point of MD5 is that there is no way to get the password back. This makes things much more secure if your site gets hacked. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

[PHP] RE: How to get the URL into a var?

2002-01-30 Thread Francois Jordaan
I am trying to find out which dir the user is browsing. How can I get the URL into a var? I tryed path_info, but it only returns the filename. I'm quite new to PHP, but I've had to do the same thing recently. Someone mentioned http://www.php.net/manual/en/language.variables.predefined.php

Re: [PHP] Tables Loading Slow

2002-01-30 Thread Edward van Bilderbeek - Bean IT
Maybe this is a solution for you: instead of: table trtd1/tdtddata 1/td/tr trtd2/tdtddata 2/td/tr trtd3/tdtddata 3/td/tr trtd4/tdtddata 4/td/tr /table you can do this: table trtd1/tdtddata 1/td/tr /tablebr table trtd2/tdtddata 2/td/tr /tablebr table trtd3/tdtddata 3/td/tr /tablebr table

Re: [PHP] unset a function?

2002-01-30 Thread Bas Jobsen
Hi, Thanks all. I will rename the second function. Bas -- 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] Tables Loading Slow

2002-01-30 Thread Justin French
Either have 1 table per row, which means each row will display as it loads, rather than waiting for the other 30 or so. Alternatively, you could break it into chunks of 10, or 5 or whatever. I'm using both these methods on a few sites, with no problems. Justin French -- PHP General Mailing

RE: [PHP] Session Help

2002-01-30 Thread Kevin Stone
This is such an annoying thing. And it seems as though no one is willing to cover it in any manual, book or tutorial. Apparently the problem is that PHP sessions automatically set the no-cache header. So at the top of each script, after the session_start() function set header(Cache-Control:

Re: [PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-30 Thread Jim Lucas [php]
how you suggest the solution is what I use all the time. But I thought you wanted to work with is as a string. sorry for the confusion. Jim Lucas - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: 'Jim Lucas [php]' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January

[PHP] Re: Images and Mysql

2002-01-30 Thread Joe Van Meer
See my reply to Image fields and PHP on the 14th of january. HTH Joe :) David Orn Johannsson [EMAIL PROTECTED] wrote in message 006501c1a99a$31ce5cb0$6500640a@gandalf">news:006501c1a99a$31ce5cb0$6500640a@gandalf... I need to find out how to upload images to a database and then displaying them

[PHP] Why is there no mcrypt.dll?

2002-01-30 Thread Mike Maltese
Seems like there is an implementation of every other library for windows, why is this one so elusive? I tried compiling once with Cygwin but gave up out of frustration. Anyone have a source for this or have a compiled copy they'd like to share with me? Mike -- PHP General Mailing List

[PHP] wait for existance of a remote file.....

2002-01-30 Thread Wade Barrance
I need a function that will wait for the existence of a remote file. Does anybody know how this could be done?? Cheers, Wade

RE: [PHP] wait for existance of a remote file.....

2002-01-30 Thread Martin Towell
1. look for it 2. if it's not there 2a. wait a bit 2b. go back to 1. -Original Message- From: Wade Barrance [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: [PHP] wait for existance of a remote file. I need a function that will

[PHP] Help! What would prevent/break session writing?

2002-01-30 Thread Razorfish
I must've set something somewhere so that my session writes don't commit anything. My reads work if I dummy-up some data. My system used to work. I haven't changed user or group on Apache, user rights seem ok, Mysql is ok, Mysql rights are ok. My env: PHP 4.1.1, RH Linux 7.1, Apache

RE: [PHP] MySQL-PHP-RAQ4 dilemma!

2002-01-30 Thread Greg Conway
Hi Steve, Thanks. I have tried this (the line was not there), but still I have my original problem. I am now suspecting it is more than a PHP problem, as I have the same problem with Zope (where I have PHP installed :) but I don't think the MySQL connector is reliant on it!), namely: Error

Re: [PHP] MySQL-PHP-RAQ4 dilemma!

2002-01-30 Thread Mike Frazer
Have you ever connected to MySQL from the local machine? Sounds like a permissions problem, because it appears to be successfully creating the socket. Your user may not be set up to access it from localhost, perhaps just the remote machine. Log in to MySQL as admin/root and execute the

[PHP] Testing Hyperlinks on in a database.

2002-01-30 Thread Philip J. Newman
Is there anyway using PHP to send a command to a server to get the get eather a 404 or 200 reply? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] Testing Hyperlinks on in a database.

2002-01-30 Thread Jason Wong
On Thursday 31 January 2002 10:04, Philip J. Newman wrote: Is there anyway using PHP to send a command to a server to get the get eather a 404 or 200 reply? fsockopen() -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* Anyone who goes to a psychiatrist ought to have his head

[PHP] Database query failure! (multiple datasources)

2002-01-30 Thread Casey Allen Shobe
Ok. Here's the deal...I have two databases that I access via ODBC, DB2, and MSSQL, through unixODBC. If I run MSSQL queries before DB2 queries, everything works fine. If I run DB2 queries before MSSQL queries, only the DB2 queries are successful, and the MSSQL query returns an empty array. I

Re: [PHP] preg_replace() 'space' the final frontier

2002-01-30 Thread Jason Wong
On Thursday 31 January 2002 04:00, Matthew Walker wrote: What I am trying to do is have a line of text break at a space after reading 19 words. Having read the various methods of finding and replacing one character with another, I settled on preg_replace as my best choice, but this function

Re: [PHP] Editing uploaded file

2002-01-30 Thread Jason Wong
On Thursday 31 January 2002 05:13, will hives wrote: I have this version when I add the image on the add article page, and that works fine... if ($picture != 'none') { $path = /home/€€/€€/php/; $path1 = http://www.€€.net/php/;; $b_id = mysql_insert_id();

[PHP] .

2002-01-30 Thread jtjohnston
. -- 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] .

2002-01-30 Thread Martin Towell
sure about that ? -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 2:10 PM To: [EMAIL PROTECTED] Subject: [PHP] . . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Forcing close of thread

2002-01-30 Thread jtjohnston
I have read the FAQ http://www.php.net/manual/en/function.mysql-close.php This might even be a mysql question, but I could really use some advice from people using php scripts to access mysql. I have been getting a lot of this on my windows/mysql server: 020130 16:11:08

Re: [PHP] .

2002-01-30 Thread jtjohnston
Yipper! I had previously sent something today realising I did not subscribe my email address at work. So I subscribed it and sent a test . - to see if the server would now flush out the original message two hours ago now that I have subscribed this email address too! :) Sorry Mart J Martin

Re: [PHP] .

2002-01-30 Thread Lars Torben Wilson
On Wed, 2002-01-30 at 19:10, jtjohnston wrote: . ? -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] MySQL-PHP-RAQ4 dilemma!

2002-01-30 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi Steve, Thanks. I have tried this (the line was not there), but still I have my original problem. I am now suspecting it is more than a PHP problem, as I have the same problem with Zope (where I have PHP installed :) but I don't

[PHP] Re: wait for existance of a remote file.....

2002-01-30 Thread David Robley
In article 000501c1a920$b1419f40$0201a8c0@admina1w2sn0gc, [EMAIL PROTECTED] says... I need a function that will wait for the existence of a remote file. Does anybody know how this could be done?? Cheers, Wade Can you be a little more specific about what it is you are trying to do?

[PHP] Forcing close of thread

2002-01-30 Thread jtjohnston
I'm having growing pains with my mysql server (Windows). I get a lot of Forcing close of thread ... Do I need to add mysql_close() to the end of everything? I never had to before on a Unix mysql server. Is mysql_close($myconnection); correct? Is it necessary? $myconnection =

[PHP] mysql_pconnect mysql_connect

2002-01-30 Thread jtjohnston
What is the difference between: $myconnection = mysql_connect($server,$user,$pass); and $myconnection = mysql_pconnect($server,$user,$pass); I read the faq. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] mysql_pconnect mysql_connect

2002-01-30 Thread Jeff Sheltren
At 11:09 PM 1/2/2002 -0500, jtjohnston wrote: What is the difference between: $myconnection = mysql_connect($server,$user,$pass); and $myconnection = mysql_pconnect($server,$user,$pass); I read the faq. mysql_pconnect creates a persistent connection to the server... check here:

Re: [PHP] mysql_pconnect mysql_connect

2002-01-30 Thread jtjohnston
Jim, Thanks. What I don't really get is what persistent means. A problem I'm having with my mysql server is that it is a whole bunch of messages with in the space of 5 minutes like: 020130 16:11:08 C:\PROGRA~1\EASYPHP\MySql\bin\mysqld.exe: Forcing close of thread 3 user: 'root' All I have

Re: [PHP] mysql_pconnect mysql_connect

2002-01-30 Thread Jeff Sheltren
At 11:40 PM 1/2/2002 -0500, jtjohnston wrote: Jim, Thanks. What I don't really get is what persistent means. A problem I'm having with my mysql server is that it is a whole bunch of messages with in the space of 5 minutes like: 020130 16:11:08 C:\PROGRA~1\EASYPHP\MySql\bin\mysqld.exe: Forcing

[PHP] gd library

2002-01-30 Thread Ed Lazor
Hi =) Which version of the gd library comes with PHP? Thanks, -Ed -- 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_pconnect mysql_connect

2002-01-30 Thread jtjohnston
Actually, from what I understand, with the persistent connection, it is left open even after the script is finished - that's why it's called persistent. Jeff, (Not Jim :) - it's getting way late for my tired eyes :) Sorry. Thanks. I suppose I had to read it one more time. That at least makes

[PHP] gd library 1.6 or younger

2002-01-30 Thread Ed Lazor
I'm trying to play with the gif functions this program supports. I'm having trouble finding it. Could someone e-mail it to me? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] mysql

2002-01-30 Thread Mason Batley
G'day I keep getting an error message of :Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/RageProject/StripPlayList.php on line 100 Rows: $link = mysql_connect(127.0.0.1, rage, rage); mysql_select_db(rage); $query = Select id from songs

Re: [PHP] mysql

2002-01-30 Thread Jason Wong
On Thursday 31 January 2002 13:48, Mason Batley wrote: G'day I keep getting an error message of :Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/RageProject/StripPlayList.php on line 100 Rows: $link = mysql_connect(127.0.0.1, rage, rage);

RE: [PHP] mysql

2002-01-30 Thread Jason Murray
I keep getting an error message of :Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/RageProject/StripPlayList.php on line 100 [snip] Can someone explain why.. I've been trying to work it out for 2 long. If there's no result set, it's because the query you

Re: [PHP] mysql

2002-01-30 Thread Alex Vargas
Maybe a dumb question, but are you sure you have the fields id, songname and artist in a table named rage in a database named rage? The times I got that error was because a non-existent field or a non-existent table. Otherwise, everything looks ok. Alex. - Original Message - From:

Re: [PHP] Testing Hyperlinks on in a database.

2002-01-30 Thread Michael Sims
At 03:04 PM 1/31/2002 +1300, Philip J. Newman wrote: Is there anyway using PHP to send a command to a server to get the get eather a 404 or 200 reply? Here's a function I put together to do just that. It takes a full URL as an argument and returns either boolean true, boolean false, or a

[PHP] A function that executes php code in a string?

2002-01-30 Thread Leif K-Brooks
I want to execute code in a mysql datrabase, but is this possible? I want it to run exactly as if I had tyyped it in to the php file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] mysql

2002-01-30 Thread Mason Batley
bleh, its not working I'll take another approach, If I use a count(*) query, it will return 1 record with a value, possibly 0. what command can I use to grab it from $result ?

[PHP] how to import a file of array definitions into an array assign command

2002-01-30 Thread Hasan
Hi, I have a command to assign an array to a function in a class. e.g. $myclass = new newclass();l and i need it to run a function that takes in an array $myclass-myfunction( $array); but i want the array to be seen defined $myclass-myfunction( array ( one = 1 , two =

[PHP] PHP 4.1.1 Dynamic Module Install

2002-01-30 Thread Mike Frazer
Okay, I finally decided to upgrade to 4.1.1. I did a double compile, one for the binary and one for the dynamic module (seen this done a few times). I followed the steps in the INSTALL file *exactly*, restarted Apache, but the version is still reporting as 4.0.1, not 4.1.1. I checked the date

Re: [PHP] A function that executes php code in a string?

2002-01-30 Thread Mike Maltese
eval()? - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 10:25 PM Subject: [PHP] A function that executes php code in a string? I want to execute code in a mysql datrabase, but is this possible? I want it to run

[PHP] Re: PHP 4.1.1 Dynamic Module Install

2002-01-30 Thread Mike Frazer
Just a thought...does Redhat 7 install httpd initially with the static module? Mike Mike Frazer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Okay, I finally decided to upgrade to 4.1.1. I did a double compile, one for the binary and one for the dynamic

[PHP] Re: A function that executes php code in a string?

2002-01-30 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Leif K-Brooks) wrote: I want to execute code in a mysql datrabase, but is this possible? I want it to run exactly as if I had tyyped it in to the php file. http://php.net/eval -- CC -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mysql_pconnect mysql_connect

2002-01-30 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jeff Sheltren blurted Actually, from what I understand, with the persistent connection, it is left open even after the script is finished - that's why it's called persistent. Read this excerpt from the link I sent you: Yes, and

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Bryan Gintz blurted It was was just the script: form name=junk action=script.php method=POST The script was there, and it would work if you refreshed it a bunch, but then it would give page could not display error ?? Can you

[PHP] Need Urgent Help!!

2002-01-30 Thread Scott
All, I have just found out that the VB script that I have used to send email from my web site is null and void, apparently the server does not do VB or something along those lines (security) but that's not the issue. I have contacted my teh people who host my site and they told me I have to use

Re: [PHP] mysql

2002-01-30 Thread hugh danaher
I don't know what the manual says, but if I were you I'd check this: mysql_select_db($db,$link) or die (Can't log in at this time); - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 9:51 PM Subject: Re: [PHP] mysql On

Re: [PHP] Re: preg_replace() 'space' the final frontier

2002-01-30 Thread hugh danaher
Mike, Thanks for your input on this. I'm getting better at php, but it does take time. Thanks again, Hugh - Original Message - From: Mike Frazer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 4:53 PM Subject: [PHP] Re: preg_replace() 'space' the final frontier

<    1   2