RE: [PHP] help me pllzzzzzz

2006-01-18 Thread Duffy, Scott E
I have a combo php javascript to do that. Trying to dig it up. Send email to [EMAIL PROTECTED] and ill have it separated by then. -Original Message- From: Dan Parry [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:18 AM To: 'John Nichel'; php-general@lists.php.net Subject:

[PHP] RE: (SCL: 5) [PHP] query problem.

2006-01-24 Thread Duffy, Scott E
Viewing in browser? If so view source. -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 7:01 AM To: PHP List Subject: (SCL: 5) [PHP] query problem. Hi guys. I got an entry in a field called emailfrom in my table (MySQL db). The data in

Re: [PHP] LIMIT?

2006-02-06 Thread Larry E. Ullman
I have a news page which is getting quite long now and I would like to split the news to two pages. Now I have one SQL query for all the rows and I think I could use LIMIT to limit the results but how to limit the results for example to 15 rows for page one and from 16 to the last on second

[PHP] Secure Mail Form using PHP

2006-02-16 Thread Martin E. Koss
This issue has probably been discussed more than I've been able to find in the archive, so I'm sorry if I'm going over old ground. I'm trying to make sure my email form cannot be used for spam or injecting additional code and addresses in any way. So far I'm able to remove bcc, cc, to, etc but

[PHP] Secure Mail Form using PHP

2006-02-16 Thread Martin E. Koss
This issue has probably been discussed more than I've been able to find in the archive, so I'm sorry if I'm going over old ground. I'm trying to make sure my email form cannot be used for spam or injecting additional code and addresses in any way. So far I'm able to remove bcc, cc, to, etc but

Re: [PHP] Clear POST variables

2006-02-16 Thread Larry E. Ullman
How do I clear out the POST variables, or the variables that I have set from the POST variables, so that when the page is refreshed it will not resubmit. I have tried unset() and have tried to set it to and empty value, but it doesn't seem to work. You can clear out POST by doing this: $_PO

RE: [PHP] Re: Help with query

2006-02-21 Thread Duffy, Scott E
> SELECT * FROM exams LEFT JOIN results ON exams.id_test=results.id_test WHERE > results.id_test IS NULL AND id_student=".$user exams.id_test=results.id_test results.id_test IS NULL think those are preventing this from happening. Wouldn't you want this Results.id_student IS NULL Since if the s

Re: [PHP] IIS and PHP authorization

2001-01-29 Thread Ernest E Vogelsinger
ing a filter, and crashed being used as MIME plugin latest at the 6th page access. ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[PHP] ftp_fput

2001-02-08 Thread Marisol Díaz E.
Hi Please help me I don't knowk that is wrong, in this code, for ftp_fput Don't copy the archive, when copy the archive , this has other extension, and the size is 0kb. Thanks. Marisol Díaz E. Marisol Díaz E. Gerente de Aplicaciones Internet Tecnopro Cía. Ltda. www.tecnopro

[PHP] ftp_fput

2001-02-09 Thread Marisol Díaz E.
Hi Please help me I don't knowk that is wrong, in this code, for ftp_fput Don't copy the archive, when copy the archive , this has other extension, and the size is 0kb. Thanks. Marisol Díaz E.

[PHP] ftp_fput

2001-02-09 Thread Marisol Díaz E.
Hello I need to know what mode i have to use, for coping a file with ftp_fput $archivo="C:\\abm\\Abm.gdb"; $fpr = fopen ($archivo, "??"); $subir=ftp_fput($fp,$archivo,$fpr,FTP_BINARY); Marisol Díaz E. -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] upload file

2001-02-10 Thread Marisol Díaz E.
Hello I need to do upload a file, I have problem with instruction copy(?,?); When it copy the file, just copy to tmp, and it change the name. Marisol Díaz E. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: [PHP] money maths

2001-02-12 Thread Martin E. Koss
the maths functions. 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] -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Run a script for 20minutes

2001-02-12 Thread Martin E. Koss
he process. Thanks, Martin. -- 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] Run a script for 20minutes

2001-02-12 Thread Martin E. Koss
Original Message- From: Dominick Vansevenant [mailto:[EMAIL PROTECTED]] Sent: 12 February 2001 11:54 To: Martin E. Koss; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] Run a script for 20minutes I think there are timeouts on php as well: This is taken from the php.ini file. max

[PHP] Making a living with PHP?

2001-02-19 Thread Mary E Tyler
for application. -- -- 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] sorting files in directory

2002-11-27 Thread James E Hicks III
I've done this by reading the directory contents into an array and then sorting that array. This really sorts on filename and not date, but your filenames seem to contain dates so this might work for you. James Hicks -Original Message- From: Nick Wilson [mailto:[EMAIL PROTECTED]] Sent: We

RE: [PHP] Sound with PHP

2002-12-19 Thread James E Hicks III
The only way this would work with PHP on the webserver would be to the sound file in the webpage or some other to do it. I even think there is a way to queue files like you are asking about, but this would be an HTML thing and not PHP. James -Original Message- From: Alfonso Ballestero

RE: [PHP] e-mail

2002-12-26 Thread James E Hicks III
Maybe you need to add the -f to your sendmail command? James -Original Message- From: Anil Garg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:06 PM To: [EMAIL PROTECTED] Subject: [PHP] e-mail hi i found a 'formmail' scripts from somewhere.. the problem is...

RE: [PHP] uploading + downloading Large files ...

2002-12-27 Thread James E Hicks III
This might be your answer. http://www.phpbuilder.com/columns/florian19991014.php3 James -Original Message- From: Jimmy Brake [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 1:31 PM To: [EMAIL PROTECTED] Subject: [PHP] uploading + downloading Large files ... Hi! My users nee

[PHP] Variable Fun

2003-01-30 Thread James E Hicks III
-- Why does PHP Version 4.2.3 ignore my (string) - cast to string in the if evaluation? I even tried putting the (string) inside the IF statement with no difference in execution. P.S. The variables were reporting string before I even tried (string). James E Hicks III -- PHP Gen

RE: [PHP] PHP FTP a security risk?????

2003-02-11 Thread James E Hicks III
Please correct me if I am wrong, but it is impossible for a remote machine to make an ftp connection to local machine running just PHP/Apache/Mysql. The ftp functions available in PHP enable PHP scripts to act as an FTP client and can not be used to accept remote FTP connections. Other functions (

[PHP] grief with printf(), padding and alignment of text

2003-02-11 Thread Robert E. Harvey, M.D.
I'm running PHP 4.2.2 and I'm having trouble with the printf() function. I want to be able to print data in space padded fields with the alpha strings left justified and the numeric strings right justified. For some reason I can't get printf() to pad with spaces. It pads with " "-s and righ

[PHP] An "escape special characters" problem

2003-02-15 Thread Robert E. Harvey, M.D.
Hi folks, I am trying to transfer data from a select list and am having problems with special characters stopping the transfer. The data is presented in a form as follows: $query = "SELECT algen FROM allist WHERE altyp = 'W' ORDER BY algen"; $result_1 = mysql_query($query) or die ("Coul

Re: [PHP] An "escape special characters" problem

2003-02-15 Thread Robert E. Harvey, M.D.
Jason Sheets wrote: You're problem is that you are enclosing your value for your tags with single quotes ('), when you fetch the value from the database the single quote in 's ends the value='' assignment in your HTML. You can use echo "$algen"; which will solve your single quote problem. You

RE: [PHP] internal site search

2003-02-18 Thread James E Hicks III
wanna search my internal html pages and php pages..and i have no clue how to do thatany help!!! Thx _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General

[PHP] Simple ereg question

2003-02-19 Thread Robert E. Harvey, M.D.
Hello folks, I'd like to verify input data transferred from a form and make sure it is numeric data or null before my program executes. I am using this syntax, which doesn't work: for ($i=1;$i<=3;$i++) { if (ereg('[0-9]+','$_POST["gamt_$i"]')) { continue; } else { die("Non-n

[PHP] Test

2003-02-20 Thread Robert E. Harvey, M.D.
This is a test message. I sent a real message last night and apparently it didn't make it to the server. Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simple ereg question

2003-02-20 Thread Robert E. Harvey, M.D.
Hello folks, I'd like to verify input data transferred from a form and make sure it is numeric data or null before my program executes. I am using this syntax, which doesn't work: for ($i=1;$i<=3;$i++) { if (ereg('[0-9]+','$_POST["gamt_$i"]')) { continue; } else { die("Non-numeric

[PHP] Frustation with data validation

2003-02-23 Thread Robert E. Harvey, M.D.
First, thanks to all who offered suggestions with my "simple ereg question". I have been unable to get anything to work "properly" in spite of many good suggestions. The problem I want to solve is to ensure that input fields have either an integer number or are blank before the program procee

Re: [PHP] simple ereg question

2003-02-23 Thread Robert E. Harvey, M.D.
John W. Holmes wrote: I'd like to verify input data transferred from a form and make sure it is numeric data or null before my program executes. I am using this syntax, which doesn't work: for ($i=1;$i<=3;$i++) { if (ereg('[0-9]+','$_POST["gamt_$i"]')) { continue; } else { die("Non-nu

Re: [PHP] simple ereg question

2003-02-23 Thread Robert E. Harvey, M.D.
Ernest E Vogelsinger wrote: At 01:01 24.02.2003, Robert E. Harvey, M.D. said: [snip] if (is_numeric($_POST["gamt_$i"]) or empty($_POST"gamt_$i")) or this: if (is_numeric($_POST["gamt_$i"]) || empty($_POST"gamt_$i&

RE: [PHP] javascript

2003-03-07 Thread James E Hicks III
> And what are you doing if the javascript is not enabled in the browser of > the client ??? > There will be no verification and the user can enter what he want in the > field of your form > And it's a bit dangerous for your DB if your insert data in a DB... Wow, the only safe way to insure da

[PHP] IF statement madness

2003-03-14 Thread James E Hicks III
and before the IF statement. $i - $target, By God, the are equal in value."); } else { echo ("$i - $target, Eternal Damnation, they aren't equal!"); } } ?> James E Hicks III Noland Company 2700 Warwick Blvd Newport News, VA 23607 757-928-9000 ex

RE: [PHP] IF statement madness

2003-03-14 Thread James E Hicks III
Comparing a float with an integer can have problems. You could try something like: if(abs($i - $target) < .1) { //then they are essentially equal } Kirk > -Original Message- > From: James E Hicks III [mailto:[EMAIL PROTECTED] > Sent: Friday, March 14, 2003 11:22 AM > To: [

RE: [PHP] Importing emails

2003-03-27 Thread James E Hicks III
Your going to have to look at your MTA for the answer to this. Basically you need to tell you MTA to invoke a PHP script when it receives an email for this specific address instead of normal delivery. James Hicks -Original Message- From: Alexis Antonakis [mailto:[EMAIL PROTECTED] Sent: Th

[PHP] Easier way to delete all entries in an array?

2003-06-12 Thread James E Hicks III
There's got to be an easier way, is there? for ($i=0; $i < count($the_array); $i++){ array_pop($the_array); } James E Hicks III Noland Company 2700 Warwick Blvd Newport News, VA 23607 757-928-9000 ext 435 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.

RE: [PHP] Easier way to delete all entries in an array?

2003-06-12 Thread James E Hicks III
The following has solved my problem. Thanks to all who helped. $the_array=array(); -Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:14 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Easier way to delete all entries in an array? At 16:13 12-6-0

[PHP] Very Wierd Problem

2003-06-14 Thread James E Hicks III
006\\BUBBLER VALVE"); EBCO\030774-006\BUBBLER VALVE How can I handle this description correctly with PHP? James E Hicks III Noland Company 2700 Warwick Blvd Newport News, VA 23607 757-928-9000 ext 435 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Very Wierd Problem

2003-06-14 Thread James E Hicks III
> \0 is a NULL character, IIRC. Either use single quotes: > echo ('EBCO\030774-006\BUBBLER VALVE'); > or use two slashes, like you did above: > echo ("EBCO\\030774-006\\BUBBLER VALVE"); > ---John Holmes... Problem is that this description is coming from a DB, that's why I was trying to use addsla

RE: [PHP] Help with my code

2003-06-18 Thread James E Hicks III
why won't this write? > No Name"; echo "$errorbk"; } else if ($email=="") { echo "Form Erorr >> No e-mail"; echo "$errorbk"; } else if ($input=="") { echo "Form Error >> No Comment found"; echo "$errorbk&quo

RE: [PHP] question about executing a bash shell script...

2002-08-16 Thread James E Hicks III
try something like: $bashoutput=shell_exec('/usr/bin/bash makethesite.sh username pathtoputfiles pathtogetfiles'); if that doesn't work can you use the system() function instead? James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] faxing

2002-08-28 Thread James E Hicks III
system("html2ps document.html"); system("hylafax -somedirectives document.ps); I haven't got around to actually figuring this out, but this is my plan. James -Original Message- From: Mike Mannakee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 1:14 PM To: [EMAIL PROTECTED]

[PHP] RE: time stamp

2002-08-28 Thread Lopez David E-r9374c
t by MailScanner, and is > believed to be clean. > ow3 > > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECT

RE: [PHP] basic voting

2002-09-11 Thread James E Hicks III
How bout this for just a little better than IP logging. -Original Message- From: Adam Williams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 11:24 AM To: Justin French Cc: php Subject: Re: [PHP] basic voting Most sites log by IP but if its the IP of a firewall, it wou

RE: [PHP] Sessions /Cross Domain

2002-09-18 Thread James E Hicks III
Have a look at this php.ini setting, I think it will help you! ; The domain for which the cookie is valid. session.cookie_domain = James -Original Message- From: David Buerer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 1:39 PM To: '[EMAIL PROTECTED]' Subject: [PHP]

[PHP] Help Fatal Error

2002-09-18 Thread James E Hicks III
same problem. How can I fix this and what is the problem? James E Hicks III Noland Company 2700 Warwick Blvd Newport News, VA 23607 757-928-9000 ext 435 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: who's in the chat?

2002-10-10 Thread James E Hicks III
My chat stores usernames, timestamps in a table on DB. When refresh script runs, it updates the timestamp on usernames and deletes rows in DB with stale timestamps (no refresh run). Pulling usernames from this table gives current chat users. James -Original Message- From: Oliver Witt [m

[PHP] Log files.

2002-06-21 Thread James E. Hicks III
with the owner being root. Then when the website users started creating errors (later in the morning), apache was unable to write to the file because it was owned by root. Duhhh!! Maybe this will help someone in the future. James E Hicks III -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] Whos online at the moment in PHP

2002-06-24 Thread James E. Hicks III
Why not; 1. Record each visitors IP that connects and the connect time. 2. Delete from this table all records that are 5 mins old. 3. Count the remaining records as people currently viewing page. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] PHP with IIS

2002-06-24 Thread James E. Hicks III
It looks like apache doesn't have permission to write the file //flcintranet/pi2000/ordentry/5788/pappexpt.dbf . If you were using a linux/unix machine I'd tell you to check the permisions on this directory to make sure that apache can write to it. I wish I could help you out further, but I don't

Re: [PHP] png image doesn't show

2002-07-05 Thread James E Hicks III
age/png . graphit.php should do two things; First send the header, Second send the PNG data. -- James E Hicks III Noland Company 2700 Warwick Blvd Newport News, VA 23607 757-928-9000 ext 435 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions.. (I'm learning), can't call a variable?

2003-10-16 Thread James E Hicks III
alutation, > name, > city > } VALUES { > \"$_SESSION['salutation'];\", > \"$_SESSION['name'];\", > \"$_SESSION['city'];\" > } > > ?> > //Rest of page... thanks etc... > =

[PHP] How do you keep browser from timing out during lengthy process

2003-10-16 Thread James E Hicks III
I have a program that when an operator clicks on a button initiates an ftp transfer of a large file. The program also checks for succesful completion of the transfer and advises the operator of the transfer status. How do I keep the operators browser from timing out so that the status can be dis

[PHP] Max GET size?

2004-01-07 Thread James E Hicks III
I've seen the post_max_size in the php.ini. Is there a corresponding get_max_size? I couldn't find anything about this anywhere in the php.ini or apache.conf. I want to send a lot of information via header("Location: http//server.com/program.php?val[]=1") Is there any limit on size of GET me

Re: [PHP] Qmail problem

2001-03-09 Thread Nuno Sa e Silva
ail/bin/qmail-inject [EMAIL PROTECTED]'); > ?> > > > Nothing. > > But this works: > > $ su httpd > [httpd@tigris bin]$ /var/qmail/bin/qmail-inject [EMAIL PROTECTED] > Subject: test > > testing > > ^D > > php is running as user httpd. >

Re: [PHP] quick question: frames OT

2001-05-09 Thread Adaran (Marc E. Brinkmann)
ndow? try a link like this: Exit Frames --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- 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 ad

Re: [PHP] multiple domain handling with php

2001-05-09 Thread Adaran (Marc E. Brinkmann)
nderstood you right ;-) Try some enviroment variables, maybe $HTTP_SERVER_VARS["HTTP_HOST"] or $HTTP_SERVER_VARS["SERVER_ADDR"] Hope it helped, --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://ww

Re: [PHP] thanks Hrishi AND ANOTHER QUESTION ?

2001-05-09 Thread Adaran (Marc E. Brinkmann)
tor/Apache version are u using ? --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- 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[2]: [PHP] Variables in variable names

2001-05-09 Thread Adaran (Marc E. Brinkmann)
uot; command? Try ... or even try This should AFAIK result in an Array, but I'm not sure if empty fields are put in. --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

[PHP] can't get php working on redhat 7.1

2001-05-09 Thread Daniel Goldin \(E-mail\)
aniel Goldin [EMAIL PROTECTED] Creative Director 323.225.1926 BlueLamp Productions www.blue-lamp.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

Re[2]: [PHP] thanks Hrishi AND ANOTHER QUESTION ?

2001-05-09 Thread Adaran (Marc E. Brinkmann)
ns (Photoshop, Homesite, Winamp, some from time to time...) won't start when I run them. Closing ICQ immediately solves the problem... --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re[2]: [PHP] PC MAG article

2001-05-10 Thread Adaran (Marc E. Brinkmann)
ipting language tested which is free ? :P --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- 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 administ

Re: [PHP] Netscape shows only one result of a MySQL-question

2001-05-10 Thread Adaran (Marc E. Brinkmann)
fine. I never use tags. --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- 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[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Adaran (Marc E. Brinkmann)
by (output Steve> started at /home/swadie/public_html/redirect.php:2) in Steve> /home/swadie/public_html/redirect.php on line 9 Make sure you have NO Blanks or any other Text before the http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Adaran (Marc E. Brinkmann)
by (output Steve> started at /home/swadie/public_html/redirect.php:2) in Steve> /home/swadie/public_html/redirect.php on line 9 Make sure you have NO Blanks or any other Text before the http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

RE: [PHP] PHP Editor

2001-05-10 Thread Daniel Goldin \(E-mail\)
programming in PHP? if so what have you found to be useful? Thanks 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 General

Re[2]: [PHP] PHP Editor

2001-05-11 Thread Adaran (Marc E. Brinkmann)
Hi Grishick, Grishick> Nothing is better then HomeSite Agreed ;-) --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re[2]: [PHP] weird problems with file uploads

2001-05-11 Thread Adaran (Marc E. Brinkmann)
ant 4 binary) did you use addslashes when storing the file in mysql ? well, you ought to specify the problem more exactly... --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

Re: [PHP] Books!

2001-05-12 Thread Adaran (Marc E. Brinkmann)
t is a really good book for beginners to intermediate's. Someone else may suggest some English books :P --- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Needing help hear

2001-05-15 Thread Adaran (Marc E. Brinkmann)
Hi Richard, Richard> I am trying to pull all the e-mail out of the database and put them Richard> in a format like this [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] Richard> this is what I have now but I don't seam to be going in the right Richard> direction. Could

Re: [PHP] easy one

2001-05-15 Thread Adaran (Marc E. Brinkmann)
t/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] email attachments

2002-04-16 Thread James E. Hicks III
You need a Content-Disposition in yer $mime variable. I'll leave it up to you to figure out where, because I've forgotten where it goes exactly. James -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 8:46 AM To: [EMAIL PROTECTED] Subject: [

RE: [PHP] Performance question

2002-04-16 Thread James E. Hicks III
ame thing done I would first have to log into the database and then pull the information. I was hoping to get some input as to which would be the fastest/ best way to use. Mike Fifield Charles Schwab & Co, Inc. WARNING: All e-mail sent to or from this address will be received by the Charles Sch

RE: [PHP] attachment filename

2002-04-16 Thread James E. Hicks III
$mime .= "Content-type: application/octet-stream;\r\n"; $mime .= "Content-type: application/octet-stream; name=\"$attach_name\"\r\n"; -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 2:45 PM To: [EMAIL PROTECTED] Subject: [PHP] attachment fil

RE: [PHP] Open Download-Box

2002-04-18 Thread James E. Hicks III
try header("Content-type: application/pdf"); James -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: [PHP] Open Download-Box Hello! I have a PDF-File, which the user should download (it should not

RE: [PHP] Is it possible to verify that a form submision is not being "spoofed"?

2002-04-30 Thread James E. Hicks III
This random number, because it is being sent to the user is just as easy to forge as the rest of the fields on the form. The only thing you can do is check the refferer on the submitted page, but alas even this can be forged with enough technohow. Good luck! James -Original Message- Fro

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread James E. Hicks III
#!/path.to/php -q I'd like to suggest the -q option for PHP shell scripts, which I rely on every day. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP & PDF

2002-05-17 Thread James E. Hicks III
lesize ("SOME.pdf")); fclose($fi); then $encoded_attach = chunk_split(base64_encode($binfile)), and finally attach it to my email (I'm using mail() function). html2ps and ps2pdf are system() calls and need to be installed on your system for this to work. Output from my PHP shell s

RE: [PHP] PHP & PDF

2002-05-17 Thread James E. Hicks III
2002 2:02 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] PHP & PDF On Fri, 17 May 2002, James E. Hicks III wrote: > I do a > >system("html2ps SOME.html > SOME.pd"); > > then I do a > >system("ps2pdf SOME.pd"); How about just: system(&

RE: [PHP] tmpfile() errors?

2002-05-22 Thread James E. Hicks III
I'd check the owner of the directory you are trying to write to. It needs to be owned by the same user as the httpd process runs as. James -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: [PHP] tmpfile() errors?

RE: [PHP] Show an image

2002-05-29 Thread James E. Hicks III
I found a solution to this on the web somewhere. What they did was create image.php wich extracts your image from the DB and echo's it to the page after sending the correct content type header. Then in your other .php's/.html's use... James -Original Message- From: Félix García Renedo [

RE: [PHP] OT - php/mysql/cron

2002-06-03 Thread James E. Hicks III
Here's a little tweak to gzip the backup results. I put this into another script that gets called by crontab. Are my DB userid and password still visible when run this way? I'm never here to see it run, because it happens late at night. /usr/bin/mysqldump --user=DBUSER --password=DBPASSWORD DATAB

[PHP] d: Security problem with PHP

2002-02-28 Thread Nick Wilson (E-mail)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, a potential client just sent me this. Is it an old problem? or a new one? - --begin forwarded worrier--- Hi Nick Did you mention that you use PHP? I subscribe to a photo gallery site and they stopped uploads due to th

[PHP] header() problem??

2002-03-11 Thread James E. Hicks III
tString; header("Location: $go"); ?> James E Hicks III -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Displaying Image with PHP

2002-03-29 Thread James E. Hicks III
## Heres where I add images to DB with field type of BLOB for image if ( ($submit == 'Add Image') && ($userid != 'demo') ){ if ($image != 'none'){ $name = strtr($name, "'", " "); $image = addslashes(fread(fopen($image, "r"), filesize($image))); mysql_select_db($dbase) or die(

RE: [PHP] date expressions

2002-04-02 Thread James E. Hicks III
Convert it to timestamp and then compare or if the date's in a mysql database let mysql handle the comparison for you. James -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP] date expressions How

RE: [PHP] mysql question

2002-04-08 Thread James E. Hicks III
Why don't you just increment a counter as you are retrieving them. mysql_select_db("some_DB") or die("DB not available"); $query = "select some_data from some_table"; $result = mysql_query($query); $rowcounter=0; while ($row=mysql_fetch_array($result)){ extract($row); $rowcounter++; echo

[PHP] good chat script?

2001-06-23 Thread Daniel Goldin \(E-mail\)
iling 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] newbie has include path error & new problem

2001-07-01 Thread Daniel Goldin \(E-mail\)
ing in this include path in my php.ini file to no effect. > Please help. I have several projects I'm working on that require php and I > have no way of working on them on my development box. > > Any help gratefully appreciated. Also, I apologize for being too chatty. -- PHP Genera

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
houldn't even need the include path. i'd look in php.ini. where do you actually store prepend.php? mike on 7/1/01 11:00 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote: > Thanks for your help. The server document root is: /etc/httpd/htdocs. > Perhaps I need to point to this doc

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
all prepend.php with an absolute path. you shouldn't even need the include path. i'd look in php.ini. where do you actually store prepend.php? mike on 7/1/01 11:00 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote: > Thanks for your help. The server document root is: /etc/httpd

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
g as a gateway. now you can't load a page from localhost? correct? is localhost still your machine? can you load a page from http://127.0.0.1 again, what does your routing table look like? on 7/2/01 3:29 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote: > Appreciate your help. Yes I

RE: [PHP] newbie has include path error & new problem

2001-07-02 Thread Daniel Goldin \(E-mail\)
ailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 3:06 PM To: 'PHP List' Subject: Re: [PHP] newbie has include path error & new problem on 7/2/01 3:59 PM, Daniel Goldin (E-mail) at [EMAIL PROTECTED] wrote: > Yes, I could load a page from localhost until I set up networking. > &

RE: [PHP] newbie has include path error & new problem

2001-07-04 Thread Daniel Goldin \(E-mail\)
ealing what has turned into an off-topic problem. > > Best to all, > > daniel -- mike cullerton -- 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] a good PHP editor

2001-07-18 Thread E. Peter K. Chan
rams doesn't matter Thanks > > Doug Henry > > > -- > 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] bcmath functions no longer there?

2001-07-19 Thread E. Peter K. Chan
Hi I just did a rpm rebuild of PHP to 4.0.6 on RH7.1 and now the bcmath functions are failing Fatal error: Call to undefined function: bcsub() Any ideas on this one? Thanks Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] php 4.0.6

2001-07-21 Thread E. Peter K. Chan
less/page1.html It's an excellent tutorial on setting up mysql, php,apache and even openssl. And it works. Peter - Original Message - From: "Adrian D'Costa" <[EMAIL PROTECTED]> To: "E. Peter K. Chan" <[EMAIL PROTECTED]> Cc: "php general lis

[PHP] ISAPI PHP

2001-07-23 Thread E. Peter K. Chan
igure that's all eg 6 months 12 months? Thanks for your time Peter -- 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] newbie seeks template info

2001-07-25 Thread Daniel Goldin \(E-mail\)
p.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

<    6   7   8   9   10   11   12   >