[PHP] invalid argument supplied for foreach()

2003-02-17 Thread Lynn
Could anyone please tell me what a valid argument would be in this script? error message Warning: Invalid argument supplied for foreach() in /home1/domains/$domain/htdocs/image.php on line 334 line 323-343 $dg = opendir("$thumb"); echo "$title"; PrintHeader(); echo ""; echo ""; while ( g

[PHP] Trying to understand an error

2003-01-30 Thread Lynn
ementsToManage = explode(',', $line[1]); } } What I need to know is if the real problem is within this section of code or if there is a file missing that the program should be looking for. Could someone please help me? Thanks, Lynn

[PHP] PHP Authentication on Apache

2001-09-03 Thread Lynn Holt
work. Any Ideas? Anybody know if this is supposed to work? Should I stick with AuthPG and forget PHP authentication? BTW I don't have AuthType set in .htaccess or httpd.conf. Lynn Getting old isn't hard, all you got to do is live long enough..or fast enough. -- PHP General Mailin

Re: [PHP] that whole system() thing again

2001-03-14 Thread Daniel Lynn
de to make the system call used to work and now doesn't. There is no error or warning, and it happened right around when we sopped running php as a cgi script and started running it as an apache mod... ::shrug:: so, what he says makes some degree of sense anyway. -Daniel Jack Dempsey wrote: >

[PHP] that whole system() thing again

2001-03-14 Thread Daniel Lynn
ok, figured my problem out.. apparently system() and exec() and all tha can't be called from php if it is runnig as an apache mod.. anyone know a way around this? -Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] system() function

2001-03-12 Thread Daniel Lynn
I'm having an interesting problem. I'm running on an NT machine. I'm using the function: system("F:/full/path/program"); I've tried it using all kinds of forms of forward and back slashing, doesn't seem to matter... oddly enough, if I copy the text out from between the quote and paste it into a

[PHP] Uploading files

2001-03-06 Thread Daniel Lynn
have uploaded."); } We also checked the permissions multiple times and the server's error log, but nothing... so, if anyone sees anythign wrong, please let me know. . thanks -Daniel Lynn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO