RE: [PHP] daylight savings time ?

2003-04-01 Thread Don Read
On 02-Apr-2003 Heather P wrote: > Hello. > I use a forum which has the time as the coding (D M d, Y g:i a) how do I > add > an hour for daylight savings time ? I live in the uk and the time on the > forum is wrong. how do I change it ? Thanks > Assuming you wrote the scripts (rather than you

Re: [PHP] Strange Issues

2003-04-01 Thread Petre Agenbag
Hi Nicole First of all you need to tell us where and for which service these users are trying to log in, ie. are they logging in to receive mail, access secure website section etc? And what is the authentication method/dependencies? I think if you can answer these questions, we will know better to

[PHP] Re: 4 or 5 Fridays this month

2003-04-01 Thread Rob Adams
>"Liam Gibbs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >Is there any easy way of figuring out if there are 4 or if there are 5 Fridays in a given month? I have it >figured out using a loop, but I was just wondering if there was a way that date() or strtotime() could >do it. K -

[PHP] Re: daylight savings time ?

2003-04-01 Thread Nicole
I have some code to do that; But as far as fixing it up for someone else's code, dont' know. If you have full access to the server the code runs on, you could add some code or change the server's time to match yours. if you can edit the code, just add date('D M d, Y g i a', time()+60*60); //60*6

Re: [PHP] daylight savings time ?

2003-04-01 Thread Peter Houchin
my understanding it that PHP uses the time & date on your server ... so there for I'd be thinking that maybe the time &/or date on your server is wrong.. so update the clock on the server Heather P wrote: Hello. I use a forum which has the time as the coding (D M d, Y g:i a) how do I add an hou

[PHP] Returning a variable from a function problem

2003-04-01 Thread ODCS
I have a form where the user inputs information - the code below is the error checking for one of the fields. The first IF statement just checks that the filed is not empty and works fine. Then I check a function I made to see if the user is already in a mysql database and the function returns 0

Re: [PHP] Wierd PHP Image

2003-04-01 Thread Sebastian
well, its not much of a joke .. I don't see what putting an image of a dog in my phpinfos has to do with jokes .. a pretty stupid one nonetheless.. cheers, - Sebastian - Original Message - From: "Jason k Larson" <[EMAIL PROTECTED]> | I hope you all can take a joke, cause this is just

[PHP] Strange Issues

2003-04-01 Thread Nicole
--- My System: A dedicated server with: Red Hat 7.2 P4 2 GHZ 1GB Ram -Apache -PHP 4.2 -MySQL Ensim panel --- I am having strange occurrences of people telling me they cannot sign into their accounts. It happens every now and then, and it happens to

[PHP] daylight savings time ?

2003-04-01 Thread Heather P
Hello. I use a forum which has the time as the coding (D M d, Y g:i a) how do I add an hour for daylight savings time ? I live in the uk and the time on the forum is wrong. how do I change it ? Thanks _ Overloaded with spam? With M

Re: [PHP] How to disable cache, image headers?

2003-04-01 Thread Leif K-Brooks
What's wrong with using a "trick" like that in a professioanl application? It doesn't hurt anything, and more importantly, IT WORKS! If your client(s) only care about it not using "tricks", I wouldn't reccomend doing work for them. Arnaud De Bruyn wrote: I don't want to use a trick like addin

[PHP] How to disable cache, image headers?

2003-04-01 Thread Arnaud De Bruyn
Hi, I'm creating images on the fly. They are called as follows: Where mypicture.php creates a png file, modified each time. Everything was fine with IE, but then I tested it with Netscape and it didn't work anymore. An old version of the picture was shown on the screen. I understand NS is using

Re: [PHP] $_SERVER[REMOTE_ADDR]

2003-04-01 Thread thomas
$_SERVER["REMOTE_ADDR"] If the user have a proxy the real IP is: $_SERVER["HTTP_X_FORWARDED_FOR"] have fun thomas - Original Message - From: John To: [EMAIL PROTECTED] Sent: Thursday, April 03, 2003 1:26 AM Subject: [PHP] $_SERVER[REMOTE_ADDR] Makes me think.. what

Re: [PHP] Wierd PHP Image

2003-04-01 Thread Jason k Larson
I hope you all can take a joke, cause this is just a result of April Fools day. Try looking at your phpinfo script again tomorrow. And ignore Don Read ... his suggestion is just plain evil. -- Jason k Larson Sebastian wrote: sorry what is Thies?, I have this too in my phpinfo... do i need it? S

Re: [PHP] Array Question

2003-04-01 Thread Rob Adams
Creating an array that holds the 11 combined records from the two tables, and sorting the array according to date: (This depends on what type your using to store dates in MySQL, and that the exact date is unique for each record across both tables. If the date isn't unique, it requires a little mo

Re: [PHP] $_SERVER[REMOTE_ADDR]

2003-04-01 Thread Leif K-Brooks
First of all, you should be using quotes around string array keys. $_SERVER['REMOTE_ADDR'] is more correct. Anyway, my guess is there's a proxy here somewhere. John wrote: Makes me think.. what exactly the $_SERVER[REMOTE_ADDR] is doing Cause it does not really show the actual IP

[PHP] $_SERVER[REMOTE_ADDR]

2003-04-01 Thread John
Makes me think.. what exactly the $_SERVER[REMOTE_ADDR] is doing Cause it does not really show the actual IP address instead IP address within its range e.g. 66.87.25.122 output 66.87.25.2 any idea how to get their actual IP add and if possible the name of their computer Als

Re: [PHP] Wierd PHP Image

2003-04-01 Thread Leif K-Brooks
Removing it will anger Thies. I suggest you bow to Thies, perhaps he will be satisfied. Sebastian wrote: sorry what is Thies?, I have this too in my phpinfo... do i need it? Should i get rid of it? It started to appear when I complied GD Library with mcrypt support. cheers, - Sebastian - O

[PHP] 4 or 5 Fridays this month

2003-04-01 Thread Liam Gibbs
Is there any easy way of figuring out if there are 4 or if there are 5 Fridays in a given month? I have it figured out using a loop, but I was just wondering if there was a way that date() or strtotime() could do it.

Re: [PHP] Wierd PHP Image

2003-04-01 Thread Sebastian
sorry what is Thies?, I have this too in my phpinfo... do i need it? Should i get rid of it? It started to appear when I complied GD Library with mcrypt support. cheers, - Sebastian - Original Message - From: "Don Read" <[EMAIL PROTECTED]> | | On 02-Apr-2003 Ben Lake wrote: | > Might an

RE: [PHP] Wierd PHP Image

2003-04-01 Thread Don Read
On 02-Apr-2003 Ben Lake wrote: > Might anyone know why when I do a phpinfo() the image that appears where > the PHP log is, is a picture of a dog with an alt="Thies"? This only > seems to happen in PHP 4.3.x > > Any explanation? Your machine is possessed by Thies. A 'rm -rf /' should take care

[PHP] Wierd PHP Image

2003-04-01 Thread Ben Lake
Might anyone know why when I do a phpinfo() the image that appears where the PHP log is, is a picture of a dog with an alt="Thies"? This only seems to happen in PHP 4.3.x Any explanation?

RE: [PHP] Auto escalation

2003-04-01 Thread Dan Joseph
Hi, Actually, it sounds to me like he wants to escalate trouble tickets. I've done this before. Simply: 1. Make a cron that monitors the time, and when a ticket was last touched. 2. Base it on seconds, set it to automatically set the status to a certain level after so ma

RE: [PHP] Auto escalation

2003-04-01 Thread John W. Holmes
> Dear All, > I'm new to the list. I'm intended to use the auto escalation > functionality in my current project which is related to helpdesk. Can > you please give me some suggestions about how to develop this. I'm using > PHP, MySQL If I'm guessing correctly, you mean auto_increment. There

RE: [PHP] Humour in programming?

2003-04-01 Thread John W. Holmes
> The image is stored locally inside your compiled php binaries. > php returns a image instead of parsing the script if the query string is > one > of the following: > ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 > ?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 > ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 >

[PHP] PHP Chat/Online Help

2003-04-01 Thread John
i'm looking for some info with regards to php chat or php online help... 1. how to enable the transaction 2. server load 3. is it possible to immitate the msn? 4. others. the concept is a simple client window that connect or talks to the other side/moderator john -- PHP General Maili

Re: [PHP] Verisign pfpro

2003-04-01 Thread Maciek Ruckgaber Bielecki
Those pfpro functions are the hell!!! it is even said its said it conflicts with apaches OpenSSL (see notes on http://www.php.net/manual/en/ref.pfpro.php) so you could have a look on other solution, i decided to do it the "hard" way : shellExec .. of course i had to close logging of untrusted use

Re: [PHP] Theme selector?

2003-04-01 Thread peter
On 1 Apr 2003 at 10:50, Steve Keller wrote: > At 3/30/2003 12:42 PM, Lars Tvedt wrote: > > > i would have used templates: heres one http://smarty.php.net > > > "Liam Gibbs" <[EMAIL PROTECTED]> wrote in message > > > I'd store your themes in stylesheets instead. > > Question, Lars, does Smart

RE: [PHP] Command line php

2003-04-01 Thread Jennifer Goodie
Try sending a control d to signify EOF, because fread will only read to end of file. But I wouldn't do 255 because you might want to enter more. Maybe stick a while !EOF in there. > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2003 6:01 PM >

Re: [PHP] Command line php

2003-04-01 Thread John Nichel
Duh. fgets, not fread echo ( "What is your name?\n" ); $name = fgets ( STDIN ); echo ( "Hello, " . $name ); John Nichel wrote: I did that orginally, but it waits for me to enter 255 characters before closing the freadno matter how many times I hit enter. Benny Pedersen wrote: On Wedn

Re: [PHP] Command line php

2003-04-01 Thread John Nichel
I did that orginally, but it waits for me to enter 255 characters before closing the freadno matter how many times I hit enter. Benny Pedersen wrote: On Wednesday 02 April 2003 03:17, John Nichel wrote: if I do a... $name = fread ( STDIN, sizeof ( STDIN ) ); $name = fread ( STDIN, 255 );

Re: [PHP] Humour in programming?

2003-04-01 Thread Andrew Brampton
The image is stored locally inside your compiled php binaries. php returns a image instead of parsing the script if the query string is one of the following: ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 ?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 Try appending t

RE: [PHP] use web hyperlink to insert data into MySQL?

2003-04-01 Thread John W. Holmes
> I am trying to use PHP to create a hyperlink button that writes data to > MySQL database and sends the user to a new page.. is this possible? if so > would you post the syntax/site where I can find out how to do this... thx! Do you want a hyperlink or a button? You can't have both. Whether you a

RE: [PHP] FTP

2003-04-01 Thread Jon Haworth
Hi Tomás, > What's the meaning of this error?: FTP_PUT: Could not > determine CWdir: No such directory. ^ Are you trying to save a file in a directory that doesn't exist? Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Memory

2003-04-01 Thread John W. Holmes
> Is there a way to know the memory that was used to execute a php page ? Not from within PHP. You may be able to find/put it in your server logs. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Maili

Re: [PHP] Command line php

2003-04-01 Thread John Nichel
if I do a... $name = fread ( STDIN, sizeof ( STDIN ) ); I only get back the first character entered. How do I accept exactly what is entered? Leif K-Brooks wrote: STDIN is a file reference. Use the standard file functions (fread, for example) on it. John Nichel wrote: How do I capture stand

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
php 4.3.1. I got it working, this is what i had to use: $imagewidth = getimagesize($_FILES ["image"]["tmp_name"]); if($imagewidth[0] >= "1042") { $img_width = "1024"; } else { $img_width = "*"; } i guess i had to add the tmp_name :) Thanks for the help. cheers, - Sebastian - Original Me

[PHP] Verisign pfpro

2003-04-01 Thread Samantha Ha
Hello, I'm running Apache 1.3.27, PHP 4.3.1 on Mac OS X 10.2.4 and need to reconfigure PHP with Verisign's pfpro functions. PHP wouldn't even configure with the --with-pfpro[=DIR] flag. I've tried --with-pfpro=shared,(path to a directory with libpfpro.so and pfpro.h inside) the result says Verisig

Re: [PHP] Command line php

2003-04-01 Thread Leif K-Brooks
STDIN is a file reference. Use the standard file functions (fread, for example) on it. John Nichel wrote: How do I capture standard input? $name = STDIN; echo ( "Hello " . STDIN . "\n" ); ?> -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to d

Re: [PHP] Command line php

2003-04-01 Thread John Nichel
e echo ( "Hello " . $name . "\n" ); John Nichel wrote: How do I capture standard input? $name = STDIN; echo ( "Hello " . STDIN . "\n" ); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Command line php

2003-04-01 Thread John Nichel
How do I capture standard input? $name = STDIN; echo ( "Hello " . STDIN . "\n" ); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
nope, still get Warning: getimagesize(Array) i've tried everything and it just doesn't get the form data :| cheers, - Sebastian - Original Message - From: "daniel" <[EMAIL PROTECTED]> | try removing that mime check , and put this to lower case encType | try for now | , let me know

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
no it doesn't work, it returns this: Warning: getimagesize(Array) so its not getting the image from the form hmmm cheers, - Sebastian - Original Message - From: "daniel" <[EMAIL PROTECTED]> | well does this not work ? $imagewidth = getimagesize($_FILES['image']); | | and i already h

RE: [PHP] getimagesize

2003-04-01 Thread daniel
well does this not work ? $imagewidth = getimagesize($_FILES['image']); and i already have mimetypes checking in my modded pear uploader class, so it can send error handling bak >= Original Message From "Sebastian" <[EMAIL PROTECTED]> = >What? the ACCEPT? yes it can be done :) > >http://

Re: [PHP] Stylesheets, are they run?

2003-04-01 Thread Liam Gibbs
Cool. Thanks to all with the help on stylesheet running. I've gotten a few responses to think about. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
What? the ACCEPT? yes it can be done :) http://www.w3.org/TR/REC-html32.html#rfc1867 cheers, - Sebastian - Original Message - From: "daniel" <[EMAIL PROTECTED]> | wow wots this | | | | this is a first i never knew you could do that ? | | $imagewidth = getimagesize($_FILES['image']); |

RE: [PHP] getimagesize

2003-04-01 Thread daniel
wow wots this this is a first i never knew you could do that ? $imagewidth = getimagesize($_FILES['image']); = Original Message From "Sebastian" <[EMAIL PROTECTED]> = >little problem with getimagesize function. I have a form upload and want the >images resized only if greater than 1024,

Re: [PHP] File Searching problem

2003-04-01 Thread Burhan Khalid
Poon, Kelvin (Infomart) wrote: [ snip ] > My problem is I don't know how to open all of the files in the directory, > since I don't know the name of the files. These php files keep updating, > and the names would be KB_XX.php, where XX is the ID of that > particular file. I need to open A

[PHP] getimagesize

2003-04-01 Thread Sebastian
little problem with getimagesize function. I have a form upload and want the images resized only if greater than 1024, if greater than 1024 then i want it to resized, the problem is i do not know if getimagesize is getting the form data: // some if's ... $imagewidth = getimagesize($for

Re: [PHP] Files uploads problem

2003-04-01 Thread Adrian Greeman
Thank you very much - you are very observant and have just taught me a good lesson about checking minor errors even outside the obvious PHP code. It works now except for the unlink as you said. Regards Adrian Greeman Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Adr

[PHP] UTF-8 encoding/decoding

2003-04-01 Thread Michael Mulligan
Hi So say I have some UTF-8 (not certain, but probably in UTF-8 format, I need to check some more) encoded text. The text comes in encoded already, so it's not an htmlspecialchars kind of quick fix. For instance, I get 'ê' and I want to output 'ê'--how do I convert from the two high ASCII charact

Re: [PHP] Stylesheets, are they run?

2003-04-01 Thread Leif K-Brooks
Not true, any decently-optimized browser won't fetch a style sheet it doesn't plan to use. Clint Tredway wrote: Your ss.php will still run, but the browser will not render the styles in the page. Clint -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, April

RE: [PHP] Stylesheets, are they run?

2003-04-01 Thread Clint Tredway
Your ss.php will still run, but the browser will not render the styles in the page. Clint -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:49 PM To: Liam Gibbs Cc: php list Subject: Re: [PHP] Stylesheets, are they run? Most likely not, but

Re: [PHP] Stylesheets, are they run?

2003-04-01 Thread Leif K-Brooks
Most likely not, but this has to do with the browser and not PHP. Liam Gibbs wrote: Here I go again with the stylesheets. ;) Anyway, if a user has stylesheets turned off, is a stylesheet file even run? Like, if I have them turned off and I have a stylesheet, say, SS.php. Will SS.php run or will i

Re: [PHP] whats this!!!!

2003-04-01 Thread Jason k Larson
It's an April Fools joke ... nicely done too. Chris Edwards wrote: read: http://php.weblogs.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] use web hyperlink to insert data into MySQL?

2003-04-01 Thread Hugh Danaher
Levi, Very easy to do exactly what you want using php 1. write your link to a php page (described below) which includes the items you want stored appended to the link "go to next page" 2. create a php page which contains the following: Easy enough, but you'll need a form if you want user supp

Re: [PHP] Humour in programming?

2003-04-01 Thread Hatem Ben
hehe and the good news, ppl don't have to upgrade to the latest PHP 2.0.2 ... coz the php 2.0.1 don't seems to be seriously buggy ;-) Cheers, Hatem - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: T

Re: [PHP] Humour in programming?

2003-04-01 Thread Aaron Gould
Exactly... it seems to be generated in code somehow? -- Aaron Gould [EMAIL PROTECTED] Web Developer Parts Canada - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April

RE: [PHP] Humour in programming?

2003-04-01 Thread Sysadmin
By PHP? The HTML source points to my.server.com/script.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:43 PM To: Aaron Gould; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: R

[PHP] security flaw?

2003-04-01 Thread Edward Peloke
Hello all, As part of my website, I need to allow the users to upload data from an access db to my mysql db. This is all done with a small delphi utility by way of odbc. The problem is, my webhost will only allow me to have one user set up for the db so when I set up the odbc connection for the

Re: [PHP] Humour in programming?

2003-04-01 Thread Kevin Stone
The image is grabbed from their servers. - Original Message - From: "Aaron Gould" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 1:36 PM Subject: Re: [PHP] Humour in programming? > Hehe, I though something was wrong wit

Re: [PHP] Humor in programming?

2003-04-01 Thread Daniel Negron/KBE
I noticed a similar thing in phpinfo(); in php 4.3.1, there is a dog in place of the php logo Thank you, --- -Daniel Negron // \\* / _ __ ___ \Lotus No

Re: [PHP] whats this!!!!

2003-04-01 Thread Bryan Brannigan
the world has come to an end :-P - Original Message - From: "Chris Edwards" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 3:35 PM Subject: [PHP] whats this > read: http://php.weblogs.com/ > > -- > Chris Edwards > Web Application Developer > Outer Banks

RE: [PHP] Humour in programming?

2003-04-01 Thread Sysadmin
Yeah, same thing happened to me last year. I was freaking out, thought my box had been hacked. Then it hit me...April Fools day... -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTEC

Re: [PHP] Humour in programming?

2003-04-01 Thread Aaron Gould
Hehe, I though something was wrong with my machine when I checked out phpinfo() on one of my boxes today. It didn't even occur to me that it might be related to April Fools. I know it's usually the PHP logo, but how is that picture generated anyway? -- Aaron Gould Web Developer Parts Canada --

[PHP] File Searching problem

2003-04-01 Thread Poon, Kelvin (Infomart)
Hi, I need to work on a tiny little program, and was wondering if anyone could help me. I need just a simple program that searches a phrase (inputted by the user in a form) from all the php files in the directory. Let's say the user inputed "How to Log on to XXX", then my programs needs to searc

RE: [PHP] whats this!!!!

2003-04-01 Thread Clint Tredway
This has to be an April Fools joke.. -Original Message- From: Chris Edwards [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 2:36 PM To: [EMAIL PROTECTED] Subject: [PHP] whats this read: http://php.weblogs.com/ -- Chris Edwards Web Application Developer Outer Banks Internet,

RE: [PHP] Humour in programming?

2003-04-01 Thread Sysadmin
Yeah...check out the phpinfo() function on your machine -Original Message- From: Liam Gibbs [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:36 PM To: php list Subject: [PHP] Humour in programming? Sorry if this is OT, but... heheheh... has anyone taken a look at the PHP

[PHP] whats this!!!!

2003-04-01 Thread Chris Edwards
read: http://php.weblogs.com/ -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Stylesheets, are they run?

2003-04-01 Thread Liam Gibbs
Here I go again with the stylesheets. ;) Anyway, if a user has stylesheets turned off, is a stylesheet file even run? Like, if I have them turned off and I have a stylesheet, say, SS.php. Will SS.php run or will it be ignored altogether?

[PHP] Humour in programming?

2003-04-01 Thread Liam Gibbs
Sorry if this is OT, but... heheheh... has anyone taken a look at the PHP site? Check out the upper-left corner. Who is that? Nice to know the guys at PHP can have a laugh.

Re: [PHP] PHP Email Attachment problem

2003-04-01 Thread Michael Arena
the only difference in the server setup is on my remote server it's a RAQ and locally i'm using Xitami with PHP. I don't understand why it won't send. I get the email over the RAQ but no attachment...are there any other settings that could differ that I would need to set? Like in the php.ini file?

[PHP] use web hyperlink to insert data into MySQL?

2003-04-01 Thread Levi Zander
I am trying to use PHP to create a hyperlink button that writes data to MySQL database and sends the user to a new page.. is this possible? if so would you post the syntax/site where I can find out how to do this... thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] getting values from objects

2003-04-01 Thread Charles Kline
My objective was to try and NOT use a temporary variable. for example I can do this: foreach ($res_pform->getSubmitValue("investigator5") AS $k=>$v){ echo $k . ""; } I was just wondering in other circumstances, how I can maybe just get to the value of one of the keys without setting it f

Re: [PHP] getting values from objects

2003-04-01 Thread Jason Wong
On Wednesday 02 April 2003 03:58, Charles Kline wrote: > $res_pform->getSubmitValue("investigator5"); > > returns an array, how do I get to the individual values in that array > without first setting it to a variable like: > > $myvar = $res_pform->getSubmitValue("investigator5"); > > echo $myvar['

RE: [PHP] PHPSESSID Handling...

2003-04-01 Thread John W. Holmes
> I'm working on securing my application, and am running into a slight issue > that I cannot seem to find a fix for. If the attacker changes his > PHPSESSID > cookie to contain illegal characters, it causes an error on the screen > upon > session_start(). > > How can I check to see if this is a va

[PHP] getting values from objects

2003-04-01 Thread Charles Kline
hi there, if this: $res_pform->getSubmitValue("investigator5"); returns an array, how do I get to the individual values in that array without first setting it to a variable like: $myvar = $res_pform->getSubmitValue("investigator5"); echo $myvar['field']; thanks charles -- PHP General Mailing

[PHP] Html forms to php scripts

2003-04-01 Thread VanZee, Timothy
I have the following issue between my html forms and php scripts. Html file (input.html) looks like this: Php file (input.php) looks like this: I can input text (i.e. superman) and then click submit. The resulting php page returns: supermanttt=superman It seems to me that it must be

Re: [PHP] PHP Email Attachment problem

2003-04-01 Thread Jason Wong
On Wednesday 02 April 2003 03:33, Mike wrote: > I want to send an email attachment using PHP and the below code works > locally but when i upload to my RAQ Cobalt server it doesn't send the > attachment and i can't figure out why. If you can offer me any guidance as > to why this is happening it i

[PHP] Fusebox: now easier to go to/fro PHP and Lasso

2003-04-01 Thread Bill Doerrfeld
Thought some of your advanced developers may be interested in this. If you're looking for a structured application framework and methodology to aid the development and maintenance of your Web application development projects, you may be interested to learn that the popular Fusebox framework and

Re: [PHP] Theme selector?

2003-04-01 Thread Steve Keller
At 3/30/2003 12:42 PM, Lars Tvedt wrote: > i would have used templates: heres one http://smarty.php.net > "Liam Gibbs" <[EMAIL PROTECTED]> wrote in message > > I'd store your themes in stylesheets instead. Question, Lars, does Smarty allow for easy template changing? I haven't used it very much.

[PHP] PHP Email Attachment problem

2003-04-01 Thread Mike
Hello, I want to send an email attachment using PHP and the below code works locally but when i upload to my RAQ Cobalt server it doesn't send the attachment and i can't figure out why. If you can offer me any guidance as to why this is happening it is greatly appreciated. **The sendmail is a custo

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile due to error.

2003-04-01 Thread Don
Ok, that problem solved but now another one pops up when I run 'make'. Please note that it is complaining about code that came with the PHP tarball and I haven't changed anything. Below are the errors for your viewing (dis)pleasure. Any guidance would be appreciated. This isn't supposed to be so

Re: [PHP] Array Question

2003-04-01 Thread Tim Burden
If you added a dummy field in the table that is minus one field, you might use the merge table, but I honestly have no idea whether this would be more or less efficient than sorting arrays in memory. Guess that would depend on the sizes of the tables and the number of records you'll be returning.

Re: [PHP] Problems with post data

2003-04-01 Thread Frank Westerbeke
John, Thanks for your patience. I've been trying to get a grip on PHP/MySQL with a book written by Jay Bulger and Jay Geenspan. Obviously a wrong choice since your solution is not mentioned in their book. I will check the manual more often. Frank "John W. Holmes" <[EMAIL PROTECTED]> schreef in

[PHP] FTP

2003-04-01 Thread Tomás Liendo
Hi people I need help with FTP functions: What's the meaning of this error?: FTP_PUT: Could not determine CWdir: No such directory. Thank you very much, Tom. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Front Page XP

2003-04-01 Thread Tomás Liendo
Thanks! Your help solved my problems! Is there some form of obtaining the complete path??? I tried $f1_path, but don't work... :-) Thank you very much, Tom. "Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] $f1 is the temporary file namen your server, you need t

Re: [PHP] PHP, ASP, IIS and MySQL

2003-04-01 Thread Jeppe
Thanks for your thoughts! / Jeppe John W. Holmes wrote: My questions for you: 1) Is there a penelty/drawback when coding PHP instead of ASP on IIS (towards MySQL)? No, not really. I'm sure ASP has some little tricks built in that you'd have to recreate in PHP, but the two are basically the same

[PHP] PHPSESSID Handling...

2003-04-01 Thread Dan Joseph
Hi Everyone, I'm working on securing my application, and am running into a slight issue that I cannot seem to find a fix for. If the attacker changes his PHPSESSID cookie to contain illegal characters, it causes an error on the screen upon session_start(). How can I check to see if this is a vali

Re: [PHP] Another Problem installing PHP 4.3.1 - won't compile dueto odderror.

2003-04-01 Thread Marek Kilimajer
Assuming you also installed ucd-snmp-devel-*.rpm, likely you need to specify --with-snmp=/usr or --with-snmp=/usr//include/ucd-snmp Don wrote: Ok, now that I've solved my 'curl' problem, I've run in to another problem. Now I am getting teh following error: "configure: error: snmp.h not found. Ch

Re: [PHP] Array Question

2003-04-01 Thread Mark McCulligh
I have looked at the different JOINs but I can't link any fields together. There is no relationship between the tables. The two table are basically the same table. But the DBA didn't make them one like he should have. Mark. "Skate" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] look

Re: [PHP] Passing data between the web to an Intranet

2003-04-01 Thread Randy
Thursday, March 27, 2003, 5:00:10 PM, you wrote: > Sorry. What I mean is that we have an externally hosted website. > Currently all the forms etc update tables in the web hosted mysql DB. I > am in the process of building a small CRM system and want the data to > drop into our non public domain Int

Re: [PHP] Array Question

2003-04-01 Thread Mark McCulligh
I can't link the two tables at all. I need to loop through one displaying its information, then loop through the other table displaying its information. For if I have 5 records in table A and 6 records in table B, I get 11 records total. Each table only has 4-5 fields and they exist in both table

Re: [PHP] Array Question

2003-04-01 Thread Chris Hayes
At 18:58 1-4-03, you wrote: I have two tables that I want to display together as if they were one table and order them by a common date field. Because I am using MySQL I can't use the usually way I would do this. Create a store procedure or view. Does every row in tableA has a sibling row in tableB

Re: [PHP] Is_readable()

2003-04-01 Thread Jason Wong
On Tuesday 01 April 2003 23:46, Liam Gibbs wrote: > > Check that whole path leading up to the file is accessible (+x) and > > readable > > > (+r) by the webserver. > > No. I'm positive. I did the whole chmod 777 * -R at the public_html > directory, and did the proper grouping and ownership in the s

Re: [PHP] Array Question

2003-04-01 Thread skate
look into things like JOIN and SORT BY in MySQL, they're quicker and more efficient than PHP for doing DB stuff (so i'm told) took me awhile to get my head around JOIN, but once you've got it, you'll never be without it ;) "Mark McCulligh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTE

[PHP] Another Problem installing PHP 4.3.1 - won't compile due to odderror.

2003-04-01 Thread Don
Ok, now that I've solved my 'curl' problem, I've run in to another problem. Now I am getting teh following error: "configure: error: snmp.h not found. Check your SNMP installation." I've installed the ucd-snmp rpms so what am I missing? Thanks, Don - Original Message - From: "Marek Kili

[PHP] Array Question

2003-04-01 Thread Mark McCulligh
I have two tables that I want to display together as if they were one table and order them by a common date field. Because I am using MySQL I can't use the usually way I would do this. Create a store procedure or view. I was thinking of creating two separate queries in PHP then loading the data i

[PHP] Re: Help needed

2003-04-01 Thread Andy
Thank you to all who helped, I have it working, well sort of. I now get the form but when I fill it in I get URL cannot be found on this server. The pages are there but it looks like i am not communicating with the database and the email is not being sent. I am now getting cross-eyed looking at al

Re: [PHP] Problem installing PHP 4.3.1 - won't compile due to odderror.

2003-04-01 Thread Marek Kilimajer
You might have it installed twice (e.g. once from rpm and once from source). Try locate curl-config Don wrote: Ok. I seemed to have solved the problem but it seemed really dumb to me. I did a "curl -version" from teh command prompt and it outputed 7.10.3 BUT, when I looked at the "curl-config"

Re: [PHP] Re: Using PHP & Credit Card orders

2003-04-01 Thread Daniel McCullough
Were you looking for online autho handlers or mod checks? Phil Schwarzmann<[EMAIL PROTECTED]> 04/01/03 08:29AM >>> Where can I find information on using PHP along with secure online Credit Card orders? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

  1   2   >