Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread Galen
It's not that hard, no imagemagick functions required! Use imagecopy (part of image functions, built into PHP GD stuff) and a nice 32 bit PNG image with the opacity exactly the way you like. Browse the PHP manual for more docs on the exact code, there are lots of examples. I found it didn't

[PHP] Display Query Result As Editable Form

2003-12-10 Thread irinchiang
Hi all, I am creating a user form whereby I will do an INSERT , SELECT , UPDATE and of course DELETE for the form. Right now I am trying to create a form whereby when user choose to update their info, they wil be directed to a form where the fields region are EDITABLE , before that, the

Re: [PHP] Display Query Result As Editable Form

2003-12-10 Thread Sophie Mattoug
input type=text name=name value=?=$value? [EMAIL PROTECTED] wrote: Hi all, I am creating a user form whereby I will do an INSERT , SELECT , UPDATE and of course DELETE for the form. Right now I am trying to create a form whereby when user choose to update their info, they wil be directed to

[PHP] [Fwd: failure notice]

2003-12-10 Thread Sophie Mattoug
Does someone know why do I receive such messages each time I post to the list ?!? Original Message Subject:failure notice Date: 10 Dec 2003 09:42:41 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi. This is the qmail-send program at pb1.pair.com. I'm

RE: [PHP] [Fwd: failure notice][Scanned]

2003-12-10 Thread Michael Egan
Sophie, Just to add weight to your comment - I've been receiving identical notices though I don't know what causes this. Regards, Michael Egan -Original Message- From: Sophie Mattoug [mailto:[EMAIL PROTECTED] Sent: 10 December 2003 09:45 To: [EMAIL PROTECTED] Subject: [PHP] [Fwd:

[PHP] [Fwd: [ERR] [PHP] [Fwd: failure notice]]

2003-12-10 Thread Sophie Mattoug
Even worse ! Admin of the list, please take some action ! Original Message Subject:[ERR] [PHP] [Fwd: failure notice] Date: Wed, 10 Dec 2003 18:45:17 +0900 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Transmit Report: To: [EMAIL PROTECTED], 402 Local User

Re: [PHP] Display Query Result As Editable Form

2003-12-10 Thread Sven
Sophie Mattoug schrieb: input type=text name=name value=?=$value? [EMAIL PROTECTED] wrote: Hi all, I am creating a user form whereby I will do an INSERT , SELECT , UPDATE and of course DELETE for the form. Right now I am trying to create a form whereby when user choose to update their info,

Re: [PHP] Constraint Violation when INSERT

2003-12-10 Thread Sven
[EMAIL PROTECTED] schrieb: Hi all, I got the error Constraint Violation when I did an INSERT . Gone thru the code umpteen times but to no avail..Wondering where my error was??...Below is a snip of the block of code: ? $dsn =

Re: [PHP] Constraint Violation when INSERT

2003-12-10 Thread Sophie Mattoug
Hi all, I got the error Constraint Violation when I did an INSERT . Gone thru the code umpteen times but to no avail..Wondering where my error was??...Below is a snip of the block of code: ? $dsn = mysql://root:[EMAIL PROTECTED]/tablename;

Re: [PHP] [Fwd: failure notice]

2003-12-10 Thread Adam i Agnieszka Gasiorowski FNORD
Sophie Mattoug wrote: Does someone know why do I receive such messages each time I post to the list ?!? [snipped] Is a Illuminati conspiracy! Argh! -- Seks, seksi, seksolatki... news:pl.soc.seks.moderowana http://hyperreal.info { iWanToDie } WiNoNa) (

[PHP] PEAR - Auth

2003-12-10 Thread Alessandro Vitale
Hi guys, I'd like to use one of the auth classes from pear. Any suggestion for the best one? cheers alessandro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: goto label

2003-12-10 Thread Bogdan Stancescu
Robert Cummings wrote: On Tue, 2003-12-09 at 08:14, Bogdan Stancescu wrote: Sorry if my message sounded melodramatic or something, I remembered the frustration feeling so strongly from your message that I wanted to reinforce the other people's messages with a personal testimonial if you wish.

[PHP] Writing a native PHP extension - versions?

2003-12-10 Thread Alex Hunsley
I'm writing a PHP extension for a client. (Written in C as it has to access native code.) I'm developing the extension on my own server before deployment. The question is: how closely do my server's versions of apache and PHP have to match the clients? Do they have to match exactly, or does it

[PHP] session with output compression?

2003-12-10 Thread Matthias Nothhaft
Hi List, I wanna use PHP's session management with output compression, but I have the following problem: Session-IDs are not automatically appended to URLs. :-( The compression works fine and makes the page nice for slow internet connections. The session management works also fine, but only

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread Ryan A
Hey, Thanks for the heads up but I have a heck of a lot of images and the site has pretty good traffic so I cant afford to do this on the fly, I was looking for something where you just drop all the images into a folder, run the script and pick it up in the output folder all ready for the web. I

[PHP] mail() issue

2003-12-10 Thread Tom Ray [List]
I have an odd issue with mail(). I was working on a project at my office for some time and we did everything with php and mysql. I stepped away from the project for a bit but when I left all my scripts, such as password retrieval and a few others that used the mail() function were working. Now

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread Marek Kilimajer
Ryan A wrote: Hey, Thanks for the heads up but I have a heck of a lot of images and the site has pretty good traffic so I cant afford to do this on the fly, I was looking for something where you just drop all the images into a folder, run the script and pick it up in the output folder all ready

[PHP] header, also stumped

2003-12-10 Thread Bart
Hello, I've got the following header-problems. How can I get this to work: header(Location: h--p://user:[EMAIL PROTECTED]/securedir/); I have a directory with password-protection to wich I want to redirect without the login-popup showing... I've tried a lot but the popup keeps showing.

[PHP] how can I fix axps script?

2003-12-10 Thread Alex Hunsley
I'm doing a build of php 4.3.1. It gave me the error about your axps script may be broken, and I've checked the net, and sure enough, my axps script has some of the bogus value in it. Thing is, I can't find a complete example of the that section anywhere - I can find some of the correct values

[PHP] Image Functions

2003-12-10 Thread David O'Brien
Is there an equivalent way of doing a ImageMagick composite file1.png file2.png file3.png using the builtin GD functions? -Dave David G. O'Brien Web Services Coordinator / Systems Administrator NACCRRA The Nation's Network of Child Care Resource Referral 1319 F Street NW, Suite 500

[PHP] Re: ftc and spam (was Re: [PHP] Re: spambothoney: ...)

2003-12-10 Thread David T-G
Manuel, Leif, et al -- ...and then Manuel Lemos said... % % Hello, % % On 12/09/2003 09:42 AM, Leif K-Brooks wrote: % % My strategy against spam is giving invalid addresses at my domain name, % all of which redirect to [EMAIL PROTECTED] No innocent servers besides my % own are harmed, and

[PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Derrick Fogle
Slightly OT, but I'm hoping for a few opinions about handling JPG/MOV files with PHP/MySQL. I've read that, given the choice, you should never store images in a database because it makes the database dog slow. But I've got some parameters and issues that might make a difference: 1. The only

Re: [PHP] session with output compression?

2003-12-10 Thread Chris Shiflett
Hi Matthias, --- Matthias Nothhaft [EMAIL PROTECTED] wrote: I wanna use PHP's session management with output compression, but I have the following problem: Session-IDs are not automatically appended to URLs. :-( [snip] I guess the problem is that PHP can not append SID in (g)ziped

[PHP] Re: Display Query Result As Editable Form

2003-12-10 Thread Justin Patrin
[EMAIL PROTECTED] wrote: Hi all, I am creating a user form whereby I will do an INSERT , SELECT , UPDATE and of course DELETE for the form. Right now I am trying to create a form whereby when user choose to update their info, they wil be directed to a form where the fields region are

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread Ryan A
Hey, Thanks for writing. I did want to check out what Al wrote but got scared as he mentioned steep learning curve Cheers, -Ryan http://Bestwebhosters.com - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: Ryan A [EMAIL PROTECTED] Cc: Galen [EMAIL PROTECTED]; [EMAIL

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Richard Davey
Hello Derrick, Wednesday, December 10, 2003, 3:56:32 PM, you wrote: DF 1. The only way I can store the files in a directory on the server is DF to make that directory wide open as in chmod 777. I don't have quite DF enough control of the server to make that a better situation. Why is this? More

Re: [PHP] header, also stumped

2003-12-10 Thread Richard Davey
Hello Bart, Wednesday, December 10, 2003, 3:34:31 PM, you wrote: B I've got the following header-problems. How can I get this to work: B header(Location: h--p://user:[EMAIL PROTECTED]/securedir/); B I have a directory with password-protection to wich I want to redirect B without the login-popup

Re: [PHP] session with output compression?

2003-12-10 Thread Jason Wong
On Wednesday 10 December 2003 23:56, Chris Shiflett wrote: --- Matthias Nothhaft [EMAIL PROTECTED] wrote: I wanna use PHP's session management with output compression, but I have the following problem: Session-IDs are not automatically appended to URLs. :-( [snip] I guess the

[PHP] removing ? tag from include files

2003-12-10 Thread Priit Kaasik
hi, im interested in specific information about removing php end-tags from include files (which contain php code). it woun't give any warning or error but will remove all annoying spaces and line breaks before you send your own header data... how does include function work in these cases? are

[PHP] $_POST var name char conversion . to _

2003-12-10 Thread ROBERT MCPEAK
Has anybody seen the seemingly automatic and unexplained conversion of the character . to _ in $_POST var names? I've tested several ways, with and without PHP, and I've dug around in the HTML specs and can't find a good explanation. Can anybody shed some light on this? Can this be

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread David T-G
Ryan, et al -- ...and then Ryan A said... % % I did want to check out what Al wrote but got scared as he mentioned steep % learning curve 1) He actually meant shallow; there is, indeed, a lot to learn with IM. 2) IM is truly fantastic, and we use it for our gallery application; we generate

RE: [PHP] $_POST var name char conversion . to _

2003-12-10 Thread Ford, Mike [LSS]
On 10 December 2003 16:19, ROBERT MCPEAK contributed these pearls of wisdom: Has anybody seen the seemingly automatic and unexplained conversion of the character . to _ in $_POST var names? Yes. It's PHP automagic by PHP. I've tested several ways, with and without PHP, and I've dug around

Re: [PHP] $_POST var name char conversion . to _

2003-12-10 Thread Chris Shiflett
--- ROBERT MCPEAK [EMAIL PROTECTED] wrote: Has anybody seen the seemingly automatic and unexplained conversion of the character . to _ in $_POST var names? This is intentional. The . character is not allowed in a variable name, so PHP has to translate your HTML form's variable name to a PHP one

RE: [PHP] $_POST var name char conversion . to _

2003-12-10 Thread ROBERT MCPEAK
Thanks all. I guessed that it was something built in to PHP, although I was surprised when I couldn't find a good explanation in the usually excellent docs. -Bob Mc Ford, Mike [LSS] [EMAIL PROTECTED] 12/10/03 11:29AM On 10 December 2003 16:19, ROBERT MCPEAK contributed these

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread David O'Brien
I just did something similar to what you are asking to do I created a mask.png in photoshop with white text at 50% opacity saying what I wanted Then I used the ImageMagick composite command line program thru a system call composite mask.png image.png image.png to make the new watermarked images.

[PHP] Re: removing ? tag from include files

2003-12-10 Thread Justin Patrin
Priit Kaasik wrote: hi, im interested in specific information about removing php end-tags from include files (which contain php code). it woun't give any warning or error but will remove all annoying spaces and line breaks before you send your own header data... how does include function work

[PHP] Undefined variable using hyperlink

2003-12-10 Thread PHP
I'm having some basic problems with the following pages, index.php (frames base), email.php, and body.php. I can retrieve email from the email account, but when I click on a link in the email.php to open the email in body.php, $msgid is not defined in body.php. It's got to be something

Re: [PHP] Undefined variable using hyperlink

2003-12-10 Thread Richard Davey
Hello, Wednesday, December 10, 2003, 4:53:18 PM, you wrote: P I can retrieve email from the email account, but when I click on a link in P the email.php to open the email in body.php, $msgid is not defined in P body.php. It's got to be something basic, but right now, it escapes me. P Right now

[PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread prashant
Dear Friends These is my sample code test1.html !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEAD TITLE New Document /TITLE META NAME=Generator CONTENT=EditPlus META NAME=Author CONTENT= META NAME=Keywords CONTENT= META NAME=Description CONTENT= /HEAD BODY form name=frm1

[PHP] Different php.ini with php - cgi

2003-12-10 Thread Bc. Radek Kreja
Hello, I have PHP as Apache so and I wand to use it in the command line as CGI. As apache module I have running with safe mode in the command line I want to use PHP without SAFE MODE. My PHP is compiled with so modules. If I use this construction: #!/usr/local/bin/php -c /root/ -q

Re: [PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread Richard Davey
Hello prashant, Wednesday, December 10, 2003, 5:20:18 PM, you wrote: p form name=frm1 method=POST action=test1.php3 enctype=multipart/form-data p input type=text name=text1 value= p input type=file name=file1 p input type=submit name=btnsubmit value=Submit p /form You should have set the

Re: [PHP] fopen url

2003-12-10 Thread prashant
Dear Friends These is my sample code test1.html !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEAD TITLE New Document /TITLE META NAME=Generator CONTENT=EditPlus META NAME=Author CONTENT= META NAME=Keywords CONTENT= META NAME=Description CONTENT= /HEAD BODY form name=frm1

[PHP] PHP and Apache MultiViews

2003-12-10 Thread Styx
Hi all! I've got a problem when using this combination. Everything works fine for browsers that send Accept: */* requests, but some web spiders say Accept: text/* and get 406 error since the actual type is application/... I worked this around by using type-map and creating .var files for each

[PHP] Re: mail() issue

2003-12-10 Thread Manuel Lemos
Hello, On 12/10/2003 01:14 PM, Tom Ray wrote: I have an odd issue with mail(). I was working on a project at my office for some time and we did everything with php and mysql. I stepped away from the project for a bit but when I left all my scripts, such as password retrieval and a few others

Re: [PHP] Undefined variable using hyperlink

2003-12-10 Thread PHP
That seems to have corrected the problem. Thank you very much. On 12/10/03 11:56 AM, Richard Davey [EMAIL PROTECTED] wrote: Hello, Wednesday, December 10, 2003, 4:53:18 PM, you wrote: P I can retrieve email from the email account, but when I click on a link in P the email.php to open

Re: [PHP] Re: goto label

2003-12-10 Thread Robert Cummings
On Wed, 2003-12-10 at 07:10, Bogdan Stancescu wrote: May I point you to the last few lines in my message you're replying to, quoted at the top of this message for your convenience. I will highlight the key words in there for you here, so it's easier to follow: I wanted to reinforce the

Re[2]: [PHP] Undefined variable using hyperlink

2003-12-10 Thread Richard Davey
Hello, Wednesday, December 10, 2003, 5:45:17 PM, you wrote: $msgid = $_GET['msgid']; P That seems to have corrected the problem. Thank you very much. Cool - do you understand why though? I don't mean to sound patronising, so please don't take offence at my question, just making sure. --

Re: [PHP] run a command on a remote host

2003-12-10 Thread Ivone Uribe
Hi Brad, Thanks for your help, I'm trying to run this code to know which user is running my webserver. I think it is the nobody #!/usr/local/bin/php -q HTML BODY bgcolor='#ff' ?php echo PRE; #$output=passthru(rsh rubella ls /tmp/salididta.txt,$vari); $output=system(who am I,$vari); echo

[PHP] ARRAY

2003-12-10 Thread Brian Sutton
I am trying to read in a text file to an array using the following code, however everytime I try and print the contents of the $table array, it always says ARRAY. Why won't it show me the actual contents of the file? $row = 1; $handle = fopen (seclog.txt,r); while ($data = fgetcsv ($handle,

Re: [PHP] ARRAY

2003-12-10 Thread ROBERT MCPEAK
Because it's and array! print and echo take strings, not arrays, I believe. Anyway, print_r() or a foreach loop will do it for you. ?php print_r($table); //or foreach ($table as $atable){ echo $tableBr; } ? Something like that. Brian Sutton [EMAIL PROTECTED] 12/10/03 01:26PM I am trying

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Adam i Agnieszka Gasiorowski FNORD
Derrick Fogle wrote: I've read that, given the choice, you should never store images in a database because it makes the database dog slow. But I've got some parameters and issues that might make a difference: We (at hyperreal.info) are storing all the images attached to articles in

Re[2]: [PHP] ARRAY

2003-12-10 Thread Richard Davey
Hi, Wednesday, December 10, 2003, 6:29:43 PM, you wrote: RM Because it's and array! print and echo take strings, not RM arrays, I believe. Anyway, print_r() or a foreach loop will do it RM for you. Agreed.. print_r() is the best, but if you're outputting all of this text into the browser

RE: [PHP] run a command on a remote host

2003-12-10 Thread Ivone Uribe
Thanks Vail and all! I use it: rsh -l user host command and and I can run it! Kisses! --- Vail, Warren [EMAIL PROTECTED] wrote: Well, it is not possible directly, but you can try some of the following; $cmd = rsh -l user host command;// remote shell $cmd = rpc -l user host command;

Re: [PHP] ARRAY

2003-12-10 Thread Justin Patrin
Richard Davey wrote: Hi, Wednesday, December 10, 2003, 6:29:43 PM, you wrote: RM Because it's and array! print and echo take strings, not RM arrays, I believe. Anyway, print_r() or a foreach loop will do it RM for you. Agreed.. print_r() is the best, but if you're outputting all of this text

[PHP] PHP and Apache MultiViews

2003-12-10 Thread Styx
Hi all! I've got a problem when using this combination. Everything works fine for browsers that send Accept: */* requests, but some web spiders say Accept: text/* and get 406 error since the actual type is application/... I worked this around by using type-map and creating .var files for each

[PHP] Re: Writing a native PHP extension - versions?

2003-12-10 Thread Manuel Lemos
Hello, On 12/10/2003 10:24 AM, Alex Hunsley wrote: I'm writing a PHP extension for a client. (Written in C as it has to access native code.) I'm developing the extension on my own server before deployment. The question is: how closely do my server's versions of apache and PHP have to match the

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Galen
I tend to disagree. Images in the database, providing they actually associate with other bits of info, are great. I usually keep images in a separate table than the data, but it's really easy to keep track of everything. No file permissions, backup is as easy as standard SQL backups, etc. I my

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Justin Patrin
Galen wrote: I tend to disagree. Images in the database, providing they actually associate with other bits of info, are great. I usually keep images in a separate table than the data, but it's really easy to keep track of everything. No file permissions, backup is as easy as standard SQL

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Gerard Samuel
On Wednesday 10 December 2003 02:43 pm, Galen wrote: If you store images that are played with a lot on the disk, it'll likely be slower than MySQL due to MySQL having better caching. I disagree. Depending on your setup, when a file based image is downloaded to a user's computer, its cached

RE: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Brian . Goralczyk
Well, it seems to me that the confusion comes from the fact that we are comparing apples and oranges. The first example is talking about the performance assuming you have 100's of people requesting the same picture, where as the second example is talking about the performance assuming you have

[PHP] Date Listing

2003-12-10 Thread Pablo Zorzoli
Hi everyone! Let's see if you can help me with this odd function i want to do. Imagine i have to dates,for example: $date1=2002-10-01 $date2= 2003-12-10 I want a function to list all the dates that are between these two. 2002-10-01 2002-10-02 2002-10-03 . . 2003-12-09 2003-12-10

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Galen
On Dec 10, 2003, at 12:47 PM, [EMAIL PROTECTED] wrote: Well, it seems to me that the confusion comes from the fact that we are comparing apples and oranges. I agree. Images in a database mean totally different things to different usage profiles. But I would also like to question the extra

RE: [PHP] Date Listing

2003-12-10 Thread Jay Fitzgerald
?php for($i = 0; $i = 31; $i++) { $theday = strtotime(+$i day); echo 'option value=',date('Y-m-d',$theday),'',date('l, F j',$theday),'/option'; } ? Where $i = 31 is the number of days you want looped HTH Jay -Original Message- From: Pablo Zorzoli [mailto:[EMAIL

RE: [PHP] Date Listing

2003-12-10 Thread Jay Blanchard
[snip] Let's see if you can help me with this odd function i want to do. Imagine i have to dates,for example: $date1=2002-10-01 $date2= 2003-12-10 I want a function to list all the dates that are between these two. 2002-10-01 2002-10-02 2002-10-03 . . 2003-12-09 2003-12-10 Has

[PHP] how and when to use -

2003-12-10 Thread Dave Reinhardt
how and when to use - as in echo Path: .$d-path.br\n; what does this mean and how is it used? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how and when to use -

2003-12-10 Thread Daevid Vincent
- is for classes / objects... It points to a variable in the object class (this case $path) or a function like $d-setColor(green); http://us4.php.net/manual/en/language.oop.php OOP is hella cool when you get it. But it can also be overkill for many things too. Basically I think of it this

[PHP] problems with starting session

2003-12-10 Thread obsidianchrysalis
this code snippet is used to autheticate a user's id. however, it generates errors pertaining to the script not being able to send headers with the session data. // function authenticate() // { // import variables to be read from form

[PHP] upload script

2003-12-10 Thread tony
hi, I was wondering if anyonehad a script to upload files. Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] problems with starting session

2003-12-10 Thread Daevid Vincent
You can't print any output before you start the session AFAIK. Daevid Vincent http://daevid.com -Original Message- From: obsidianchrysalis [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 3:51 PM To: [EMAIL PROTECTED] Subject: [PHP] problems with starting session

[PHP] date conversion

2003-12-10 Thread Adam Williams
Hi, is there a PHP function that will convert MM/DD/ to MMDD? Also I will need to take into affect some people may put in M/D/ (some people may put in 1 instead of 01, 2 instead of 02, etc). Is there a way to do this? -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] upload script

2003-12-10 Thread Ox
Try this, its very very simple though $PicPath=Path/; if(is_uploaded_file($_FILES['Photo']['tmp_name'])) { copy ($_FILES['Photo']['tmp_name'], $PicPath.$_FILES['Photo']['name']); } -Original Message- From: tony [mailto:[EMAIL PROTECTED] Sent: 10 December 2003 21:34 To: [EMAIL

Re: [PHP] date conversion

2003-12-10 Thread Matt Matijevich
snip Hi, is there a PHP function that will convert MM/DD/ to MMDD? Also I will need to take into affect some people may put in M/D/ (some people may put in 1 instead of 01, 2 instead of 02, etc). Is there a way to do this? /snip take a look at these functions

RE: [PHP] upload script

2003-12-10 Thread Matt Matijevich
snip hi, I was wondering if anyonehad a script to upload files. Thank You /snip http://www.php.net/features.file-upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] date conversion

2003-12-10 Thread Andrew Wilson
SCRIPT language=JavaScript !-- Hide the script // // This is a y2k compliant script which prints the system date to the screen, // // You may use this script in your website provided that this notice remains at the top //

RE: [PHP] date conversion

2003-12-10 Thread Daniel Purdy
ADAM WILLIAMS snip Hi, is there a PHP function that will convert MM/DD/ to MMDD? Also I will need to take into affect some people may put in M/D/ (some people may put in 1 instead of 01, 2 instead of 02, etc). Is there a way to do this? /snip MATT MATIJEVICH snip take a look at

RE: [PHP] treu type fonts

2003-12-10 Thread cj
Thanks Tom I tried the png like you suggested and the same thing happens. I get nothing on the screen but if I do a right click and properties on the spot where the image should be the image type is a png image. -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] header, also stumped

2003-12-10 Thread Bart
I've tried to test it in a browser with copy-url and it works fine. Through the script however it doesn't (using the same/correct url!!). Any ideas... Regards, Bart ! -Oorspronkelijk bericht- Van: Richard Davey [mailto:[EMAIL PROTECTED] Verzonden: woensdag 10 december 2003 17:06

[PHP] Cannot Use Database

2003-12-10 Thread Stephen Craton
Hello, I am having an issue connecting to a MySQL database. I've made a script that installs itself to a MySQL database (creates all the tables and such) and then the script uses the tables to store information and whatever else it may have to do. The problem is, the install works just fine, but

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Justin Patrin
Gerard Samuel wrote: On Wednesday 10 December 2003 02:43 pm, Galen wrote: If you store images that are played with a lot on the disk, it'll likely be slower than MySQL due to MySQL having better caching. I disagree. Depending on your setup, when a file based image is downloaded to a user's

[PHP] Active windows

2003-12-10 Thread [EMAIL PROTECTED]
I have a site I am developing in PHP that has multiple windows. Is there any way in PHP to change from the active window to another? For instance the data entered in one window will show up in another once the window is refreshed. Any way to do that automatically? Thanks! /T

[PHP] PHP Internship job (Seattle, WA)

2003-12-10 Thread Daevid Vincent
Sorry if this is a repost, but I never saw it come through the list. Maybe prefixing OT: caused it to get /dev/null'd?? -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 3:59 PM To: '[EMAIL PROTECTED]' Subject: OT: PHP Internship job

[PHP] Array problem....

2003-12-10 Thread Jas
Not very good at arrays so I figured i would look here ?php $sql_subs = mysql_query(SELECT * FROM $t_02,$db)or die(mysql_error()); while(list($id,$sub,$msk,$dns01,$dns02,$rtrs,$rnge) = mysql_fetch_row($sql_subs)) { print $sub; print br; print $msk; print br; print $dns01; print br;

RE: [PHP] Array problem....

2003-12-10 Thread Chris W. Parker
Jas mailto:[EMAIL PROTECTED] on Wednesday, December 10, 2003 3:21 PM said: while(list($id,$sub,$msk,$dns01,$dns02,$rtrs,$rnge) = mysql_fetch_row($sql_subs)) { $_session['something to automaticly increment session var'] = $sub+$msk+$dns01... } No exactly sure what you mean but here

RE: [PHP] Array problem....

2003-12-10 Thread Chris W. Parker
Chris W. Parker on Wednesday, December 10, 2003 3:27 PM said: while(list(...)) = mysql_fetch_row(...)) { Got one too many ) in there. Should be: while(list(...) = mysql_fetch_row(...)) { Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Array problem....

2003-12-10 Thread Jas
having no idea you could use numbers as session variable names I kinda feel like a retard right now. You solution worked, thank you very much. Jas Chris W. Parker wrote: Jas mailto:[EMAIL PROTECTED] on Wednesday, December 10, 2003 3:21 PM said:

RE: [PHP] Array problem....

2003-12-10 Thread Chris W. Parker
Jas mailto:[EMAIL PROTECTED] on Wednesday, December 10, 2003 3:44 PM said: having no idea you could use numbers as session variable names I kinda feel like a retard right now. You solution worked, thank you very much. It's an array just like any other which you probably realize now. ;)

[PHP] PHP5

2003-12-10 Thread daniel
Hi i am trying to instigate across the board software upgrades, i was wondering when PHP5 will be released ? I am thinking its best to wait for it to come out, or i'll prob wont see it on the servers until the next commet passing. Please let me know thanks. -- PHP General Mailing List

Re: [PHP] treu type fonts

2003-12-10 Thread Jason Wong
On Thursday 11 December 2003 06:06, cj wrote: I tried the png like you suggested and the same thing happens. I get nothing on the screen but if I do a right click and properties on the spot where the image should be the image type is a png image. 1) Enable FULL error reporting. 2) For

Re: [PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread Jason Wong
On Thursday 11 December 2003 01:25, Richard Davey wrote: p form name=frm1 method=POST action=test1.php3 enctype=multipart/form-data p input type=text name=text1 value= p input type=file name=file1 p input type=submit name=btnsubmit value=Submit p /form You should have set the max_file_size

Re: [PHP] Cannot Use Database

2003-12-10 Thread Jason Wong
On Thursday 11 December 2003 06:17, Stephen Craton wrote: I am having an issue connecting to a MySQL database. I've made a script that installs itself to a MySQL database (creates all the tables and such) and then the script uses the tables to store information and whatever else it may have

Re[2]: [PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread Richard Davey
Hello Jason, Thursday, December 11, 2003, 12:29:07 AM, you wrote: You should have set the max_file_size here, but it's not included. JW Why? (see archives). Because it's good practise, not to mention sensible? -- Best regards, Richardmailto:[EMAIL PROTECTED] --

Re: [PHP] Array problem....

2003-12-10 Thread John W. Holmes
Jas wrote: but what I need to do is something like this... ?php $sql_subs = mysql_query(SELECT * FROM $t_02,$db)or die(mysql_error()); while(list($id,$sub,$msk,$dns01,$dns02,$rtrs,$rnge) = mysql_fetch_row($sql_subs)) { $_session['something to automaticly increment session var'] =

[PHP] fopen custom 404 issue

2003-12-10 Thread Mike D
I am trying to read in a particular page to a variable. How do you handle if the page is a 404 and then redirects to a custom error page? Am I supposed to use fsockopen and read headers or ?? Ideally I need to pull the end-result page to search for a string in it. Here's the code $handle =

Re: Re[2]: [PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread Jason Wong
On Thursday 11 December 2003 08:41, Richard Davey wrote: Thursday, December 11, 2003, 12:29:07 AM, you wrote: You should have set the max_file_size here, but it's not included. JW Why? (see archives). Because it's good practise, not to mention sensible? Possibly, if and when it is

Re: [PHP] fopen custom 404 issue

2003-12-10 Thread Jason Wong
On Thursday 11 December 2003 08:48, Mike D wrote: I am trying to read in a particular page to a variable. How do you handle if the page is a 404 and then redirects to a custom error page? Am I supposed to use fsockopen and read headers or ?? Ideally I need to pull the end-result page to search

Re[4]: [PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread Richard Davey
Hello Jason, Thursday, December 11, 2003, 12:52:55 AM, you wrote: JW Possibly, if and when it is supported by most browsers. IE and Mozilla recognise and support it, where are these other most browsers ? It might be an advisory, but it's still good practise. JW But in the context of the OP's

[PHP] Compiling...hellllp!

2003-12-10 Thread Ryan A
Hi, Its been quite some time since I have done any compiling, the last time was java and before that C...which was years back. I want to install Turck MMCache for php on one of our new dedicated servers as we will be running a crapload of scripts there...differient applications...we estimate

Re: Re[4]: [PHP] HTML Form with method=POST and enctype=multipart/form-data is not working for passing data to the web server.

2003-12-10 Thread Jason Wong
On Thursday 11 December 2003 09:10, Richard Davey wrote: JW Possibly, if and when it is supported by most browsers. IE and Mozilla recognise and support it, where are these other most browsers ? It might be an advisory, but it's still good practise. If you know off-hand which versions of IE

[PHP] Re: fopen custom 404 issue

2003-12-10 Thread Justin Patrin
Mike D wrote: I am trying to read in a particular page to a variable. How do you handle if the page is a 404 and then redirects to a custom error page? Am I supposed to use fsockopen and read headers or ?? Ideally I need to pull the end-result page to search for a string in it. Here's the code

[PHP] question on which day is the first day of the week

2003-12-10 Thread
Dear Sir, In the computer's memory, I find out that the first day of the week is Monday. But actually, the first day of the week is Sunday, not Monday. When I try to use the date function to number the week, I find some difficulty. For example, the second week of 2004 should be January

  1   2   >