Re: [PHP] cgi bug workaround

2001-10-05 Thread Devon Weller
If you are getting #!/usr/local/bin/php output to the screen, then the cgi scripts do no need the line in them to execute properly. Do you have access to the scripts? Try removing this line altogether. What happens? - Devon In article [EMAIL PROTECTED], [EMAIL PROTECTED] (James Peter

[PHP] Re: Sockets on FreeBSD Mac OS X

2001-10-03 Thread Devon Weller
it. Any other ideas? Thanks, - Devon In article 04c401c14bc4$6a1ddde0$c801a8c0@Lynchux100, [EMAIL PROTECTED] (Richard Lynch) wrote: Wild Guess: Your OS is configured to not allow nobody to bind port 12345, and PHP is running within Apache as nobody... Check out what sort of limitations

[PHP] Sockets on FreeBSD Mac OS X

2001-10-02 Thread Devon Weller
Has anyone successfully gotten socket functions to work with FreeBSD? More specifically, Mac OS X? I always get the following error: Can't bind to port 12345, exiting. The script works fine on Linux machines. Is there a patch in the works for FreeBSD? If so, I would be very happy. -- Devon

[PHP] Individual Lines of TEXT

2001-09-24 Thread Devon
I am pulling down data from a switch which looks like Port 1, 33889029532 Port 2, 0 Port 3, 135852 Port 4, 6652941243 etc etc I need to know if it is possible with PHP to write a script that will pull the individual lines of this text file and store them into a mysql database line by line.

[PHP] Searching help

2001-09-06 Thread Devon
$Query = SELECT * FROM enet WHERE TechContact LIKE '%' AND AdminContact LIKE '%'; This query simply prints out my entire tables, is there a way using PHP so I can make the '%' a user input so they can search the table under those fields. Cheers -- PHP General Mailing List

[PHP] Table Search

2001-09-06 Thread Devon
Below is an example of my code which searches a table and prints the result, the problem is that it only displays the TechContact where I want it to display all the fields that associated with it in that row off the colum eg. Mobile, AdminContact etc etc Any suggestions? if ($TechContact == )