Re: [PHP] System wide variable

2007-05-23 Thread Stut
times. Is it possible to have a writeable variable that has the scope of EVERY script that is run through the parser? Not really. Your options are basically 1) use the database instead of the file, or 2) try memcached (Google for it). -Stut -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] System wide variable

2007-05-23 Thread Stut
Darren Whitlen wrote: Stut wrote: Darren Whitlen wrote: I have a PHP script that reads and updates either a small file or a mysql database. This script is called from several places every .5 seconds. I would like to move this file to a variable for extra speed as the file is causing a few

Re: [PHP] Form Processing Question - Empty Fields

2007-05-24 Thread Stut
tos[]=3 Hopefully that explains why what you've implemented is doing what it's doing and will help you avoid problems like this in future. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot access file on Network Drive (Windows 2003)

2007-05-24 Thread Stut
using the UNC path ("server\\share\\Transfer\\test.dbf") [note double backslashes]. If that still doesn't work then it's likely a permissions issue. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Project Management

2007-05-24 Thread Stut
very nicely with subversion and provides the primary functionality I need (Wiki, tickets and milestone tracking). It also has great extensibility if you need something it doesn't provide by default. But, like I said, off-topic. Now please Google your arse off. -Stut Cheers guys, Chris

Re: [PHP] RE: Cannot access file on Network Drive (Windows 2003)

2007-05-24 Thread Stut
he Apache service and run it manually as your user. If it works like that then your problem is definitely permissions-related and you should consult your sysadmin (or Google if you don't have one). -Stut On 5/23/07 4:33 PM, "Jared Farrish" <[EMAIL PROTECTED]> wrote: So you

Re: [PHP] [CSS] help with a orizzotal menu

2007-05-24 Thread Stut
submenu orizzontal under menu.. and subsubmenu orizzontal and under submenu.. Adding [CSS] to the subject does not make this on-topic. Please try a CSS mailing list. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
e but that would not be convenient. You'll have to change the name. The whole point of sessions is to allow scripts to share variables between requests. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Darren Whitlen wrote: Stut.. I've only been here one day, and I think I'm right in saying that your the one around here that gets annoyed really easy ;) Not really, I just tend to be a bit more vocal about it. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
ssion cookies. You may be able to do this by calling ini_set to change session.cookie_path before calling session_start. -Stut - Original Message From: Stut <[EMAIL PROTECTED]> To: Jean-Christophe Roux <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Sent: Thursday, May 24, 2

Re: [PHP] RE: Cannot access file on Network Drive (Windows 2003)

2007-05-24 Thread Stut
Rahul Sitaram Johari wrote: How exactly do you run Apache manually as your own user on Windows 2003? You read the Apache documentation for the version your're using on Windows at http://httpd.apache.org/ -Stut On 5/24/07 5:32 AM, "Stut" <[EMAIL PROTECTED]> wrote: Do

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Jean-Christophe Roux wrote: Stut wrote >What you're wanting to do can be achieved by setting the path on the >session cookies. You may be able to do this by calling ini_set to change >session.cookie_path before calling session_start. ini_set('session.cookie_path'

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Richard Lynch wrote: On Thu, May 24, 2007 7:44 am, Stut wrote: Darren Whitlen wrote: Stut.. I've only been here one day, and I think I'm right in saying that your the one around here that gets annoyed really easy ;) Not really, I just tend to be a bit more vocal about it. I dar

Re: [PHP] System log in problems

2007-05-24 Thread Stut
x27;s happening? Etc. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: RE: Cannot access file on Network Drive (Windows 2003)

2007-05-24 Thread Stut
o it can only get at what it needs. All of which is beyond the scope of this list and should probably be directed at an Apache list, or my billing email address!! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] System log in problems

2007-05-24 Thread Stut
congratulate you on the suggestion that the user switches from Firefox to Firefox. Inspired advice there! :D -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 oop question...

2007-05-28 Thread Stut
it have the scope of the class? Is there a workaround for this? I cannot declare a function get_image_location which will staticly call the method bcuz I use variables from instanced class. How are you trying to use this class? It sounds like you're trying to use the method statically. When a method is called statically it does not have a $this. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] alert pcinfinity

2007-05-28 Thread Stut
ike either advertising or you have some malware. Either way this is definitely not the right place to ask. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and Ajax problem

2007-05-28 Thread Stut
'deleteevent']; ?> I'm thinking you need some quotes aroung delete, and possibly around the number given its size. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
ata in a session is destroyed, but AFAIK it's not necessary... foreach (array_keys($_SESSION) as $key) unset($_SESSION[$key]); -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
Zoltán Németh wrote: 2007. 05. 29, kedd keltezéssel 10.09-kor Stut ezt írta: Jared Farrish wrote: 1. script for login process is located on a SSL-enabled server, so usernames and passwords are encrypted. https:// is an envelope encryption, so POST data, which is a part of the packet data, not

Re: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
Jared Farrish wrote: On 5/29/07, Stut <[EMAIL PROTECTED]> wrote: What utter crud. An SSL connection encrypts the whole HTTP conversation, including headers and even the URL you are requesting. The response is also encrypted. It doesn't matter whether you're doing a POST or a G

Re: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
Jared Farrish wrote: On 5/29/07, Stut <[EMAIL PROTECTED]> wrote: The only part of an SSL connection that's not encrypted is the handshaking that goes on to set it up in the first place. Everything after that, the GET/POST line, headers and the body as well as the entire response i

Re: Fwd: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
Jared Farrish wrote: On 5/29/07, Stut <[EMAIL PROTECTED]> wrote: Don't get me wrong, I don't want to discourage anyone from thinking about ways to improve it, but personally I consider this issue done to death. Well, I think the difference is that you send one key (a ses

Re: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
particular session on the server from which I will get the second bit. It doesn't really matter whether that second bit comes from the user agent, or is randomly generated on login. Storing the validation key in the same place as the key is like writing your PIN code on the back of your credit card. Do you now see why my way is more secure than yours? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: a question on session ID and security

2007-05-29 Thread Stut
s, so for now, it's good enough for me! It was definitely abridged, but that's the jist of how sessions evolved. p.s. Maybe everyone wasn't around when that history occurred... Don't throw your youth at me, it's unlikely to help. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php via cmdline including unwanted headers

2007-05-30 Thread Stut
your mistake. The CGI binary is meant for use as a web page generator. You need php-cli. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match() returns false but no documentation why

2007-05-30 Thread Stut
eturn false on an error, such as not having matching delimiters aroung the regex. The error function may retuyrn 0, but which of the following constants is defined as 0? PREG_NO_ERROR PREG_INTERNAL_ERROR PREG_BACKTRACK_LIMIT_ERROR PREG_RECURSION_LIMIT_ERROR PREG_BAD_UTF8_ERROR -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_get_contents and https

2007-05-31 Thread Stut
bers what special installation issues there might be. When I look on the web I see lots of discussion, but it's pretty hard to figure out how much of it is currently applicable and how much of it is ancient history. Was PHP built with openssl enabled? If not, that's ya problem. -Stut J

Re: [PHP] 500 server error

2007-05-31 Thread Stut
blueboy wrote: my .htacces file only contains 2 lines allowoverride all php_flag display_errors on I get a 500 server error, any ideas? Check the Apache error log - that usually has more information on what's wrong. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Re: Re: Re: Re: preg_match() returns false but no documentation why

2007-05-31 Thread Stut
of what it meant in CE, I just woudn't have imagined to apply it here, since it looks to be descriptive). Kind've like an elephant trainer calling her elephant's trunk a boot. @Brits: So is a comma or semi-colon called a Half Stop :-) No. @Americans: What did the letters s and u eve

Re: [PHP] ZIP it :o)

2007-05-31 Thread Stut
. Does the PHP user have write access to the place where archive.zip will be created? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cant set info in DB...HELP

2007-06-01 Thread Stut
to use mysqli_real_escape_string on the vars you're putting into the SQL statement. 2) You need to check the return value from mysqli_query to see if the query failed. If it is failing I'm guessing actioning suggestion 1 might help. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Stut
string (http://php.net/mysqli_real_escape_string). You need to run it on every variable you are using *in* the SQL query, not on the SQL query itself. Google for a php mysqli tutorial - all this stuff is very basic and should be covered by most tutorials you'll find. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Stut
nnection); If you still get no output, check error_reporting and display_errors in your php.ini file to make sure you are seeing at least errors and warnings. -Stut ===END NEW CODE= ----- Original Message - From: "Stut

Re: [PHP] Making thumbs same size

2007-06-04 Thread Stut
*0.10; $thumb_height=$height*.10; Make these real numbers (taking account of aspect ratio), and you'll get what you're after. There are lots of tutorials out there explaining how to create thumbnails from images using GD, I suggest you Google for one. -Stut -- PHP General Mailing List (htt

Re: [PHP] uploading big images.

2007-06-05 Thread Stut
Yamil Ortega wrote: I think it is a PHP.ini file configuration or something. Can you help me? So why not check there before posting here? I mean seriously, the option couldn't be more obvious considering that it's called upload_max_filesize. -Stut -- PHP General Mailing

Re: [PHP] Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Stut
her you learnt something from this lesson. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More include issues

2007-06-06 Thread Stut
connection is set in the include) it returns an empty drop down and none of the rest of my form is displayed. Try outputting something in the include file. If that gets displayed then the problem is most likely that the code you have to get the dropdown contents is not returning anything. -Stut On

Re: [PHP] More include issues

2007-06-06 Thread Stut
luded properly. I think we need to see the code you're using to get the data before we can help any more. -Stut On 6/6/07, *Stut* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Dan Shirah wrote: > I have error_reporting set to E_ALL and display_errors is set

Re: [PHP] Image Information

2007-06-06 Thread Stut
Steve Marquez wrote: I am trying to get information (width, height, file size) from an image before it is uploaded. Is there a way to do that? Not without using a client-side technology. PHP can't help you on the client-side. -Stut -- PHP General Mailing List (http://www.php.net

Re: [PHP] More include issues

2007-06-06 Thread Stut
? One thing I'd suggest you add is a check after the mssql_query to see how many rows were returned. Beyond that I'm stumped. -Stut On 6/6/07, *Stut* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Dan Shirah wrote: > If I put an echo into my included file

Re: [PHP] Image Information

2007-06-06 Thread Stut
?pn=22&tr=97 Won't work *before* it is uploaded. Please read the question. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More include issues

2007-06-06 Thread Stut
ee how many rows were returned. Beyond that I'm stumped. Something must be different. Assuming none of these files are being used inside a function or class the act of simply moving code out to an included file should not affect its operation. -Stut -- PHP General Mailing List (http://

Re: [PHP] More include issues

2007-06-06 Thread Stut
Dan Shirah wrote: For sh*ts and giggles, echo something in there - I'm betting it'll get displayed. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More include issues

2007-06-06 Thread Stut
displays - chances are that the options are being output properly, but the HTML is so messed up that you end up with an empty select box. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More include issues

2007-06-06 Thread Stut
ast errors and warnings? If that's the last line output then there's a fatal error in the code right after it, and developing without showing errors and warnings can lead to lengthy and usually pointless discussions on mailing lists. -Stut -- PHP General Mailing List (http://www.php.ne

Re: [PHP] More include issues

2007-06-06 Thread Stut
tion for some reason, but I really don't know. I suggest you consult the MSSQL logs for clues. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More include issues

2007-06-06 Thread Stut
ngs in the past that the persistant connection implementation in the MSSQL extension can be a bit flakey. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More include issues

2007-06-06 Thread Stut
e connections I would recommend that people always pass the connection resource to the DB functions - it saves a lot of headaches if you ever need to use a second connection. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: More include issues

2007-06-07 Thread Stut
Robert Cummings wrote: On Wed, 2007-06-06 at 20:26 -0500, Jared Farrish wrote: On 6/6/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Wed, 2007-06-06 at 17:21 -0500, Jared Farrish wrote: I feel ya brotha! I think Stut might be having a bad day... Bad day?? Did you read the same p

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
iles that big. HTTP was never designed to handle uploading files of that size. For a start there is no facility to restart the upload should it get interrupted and fail. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
file after it is uploaded. Any utility which allows this? Sounds like you need a Java applet. I have little experience with this, but I know that quite a few exist. I have no idea if any of them support sending meta data with the upload. I suggest you start Googling. -Stut - Original

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
temp directory as it is uploaded. And the qeustion is of php having negative values after I specify post size limit to 4G I would hazard a guess that you're overflowing a signed 32-bit int by specifying 4gig, but I could be wrong. It's certainly not the issue. -Stut -- PHP General Mai

Re: [PHP] PHP process control

2007-06-07 Thread Stut
control functions. A "web server environment" does not mean the entire machine. Hope that clears it up. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
the file from a Java applet. -Stut - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Thursday, June 07, 2007 8:56 PM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
ther information you need to give it so it can rename the file. This is the only bit PHP gets involved in and it doesn't involve trying to upload 4 gig over a machanism that was never designed for it. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
ion it needs. Setting up a secure write-only FTP server is well documented on the net, but is well beyond the scope of this mailing list. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
woudn't it work through the above function? The timeout is likely coming from Apache. It has a limits similar to PHP. Stut is suggesting it has to be custom made as this kind of solution doesn't seem to already exit. A solution where some applet etc. only passes that information to php

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
2.2" page: Large File Support httpd is now built with support for files larger than 2GB on modern 32-bit Unix systems. Support for handling >2GB request bodies has also been added. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
tedd wrote: At 4:35 PM +0100 6/7/07, Stut wrote: You need to look into maybe a java applet, or just plain FTP/SFTP/SCP for files that big. HTTP was never designed to handle uploading files of that size. For a start there is no facility to restart the upload should it get interrupted and fail

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: Stut, thank you very much for explaining things and trying to help. That's no problem, it's what I'm here for (I knew there was a reason). The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of usin

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Richard Lynch wrote: On Fri, June 8, 2007 10:17 am, Sukhwinder Singh wrote: Stut, thank you very much for explaining things and trying to help. The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of using HTTP, HTTPS or FTP connections for

Re: [PHP] Faulting module php4ts.dll

2007-06-08 Thread Stut
If so, how? There really is no definitive cause of this type of problem. It basically means PHP crashed. To find out why you'll need to work out which script is doing it, under what circumstances and debug it. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Sending mail on OS X

2007-06-08 Thread Stut
bet is to email [EMAIL PROTECTED] (or whatever the real domain you're sending to is) and ask them why your IP cannot send mail to their mail server. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [RFC] HTTP timezone

2007-06-09 Thread Stut
server to determine if the datetime on the client is wrong. This can be important for applications that make extensive use of client-side technologies such as Javascript. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [RFC] HTTP timezone

2007-06-09 Thread Stut
Stefanos Harhalakis wrote: On Saturday 09 June 2007, Stut wrote: Just wanted the opinion of PHP people/developers since PHP programmers will be most affected by this. Can you point me to the proper php related list to ask? I fail to see how "PHP programmers will be most affected by

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Stut
. What exactly are you trying to accomplish? By the looks of your example above you're wanting to remember where you got to in the file? Just pass the current location to the next page and use fseek to jump there after you've reopened the file. -Stut -- PHP General Mailing List (http:

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Stut
chunks in subsequent requests. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Stut
Tijnema wrote: On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > Hmm, fseek seems cool, but what about FTP resources? If I open them > with ftp_connect, do I need to fetch all data from FTP again, and then > just trash all data I don't need? Yes, but depending on

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Stut
Tijnema wrote: On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> Tijnema wrote: >> > Hmm, fseek seems cool, but what about FTP resources? If I open them >> > with ftp_connect, do I need to f

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Stut
Tijnema wrote: On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> Tijnema wrote: >> > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> >> Tijnema wrote: >> >> > Hmm, fseek seems co

Re: [PHP] Formatting output

2007-06-11 Thread Stut
ipt - this gets done automagically when the script ends. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL Connection in Session ?

2007-06-11 Thread Stut
erver depending on how your architecture works. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Stut
r post, try cracking this: http://sperling.com/examples/dot-captcha/ I've not written code to do it but that seems pretty simple to me. You get the image from circle.php, detect where the circle is - pretty simple - and pass those coords through when posting the form. Or have I missed s

Re: [PHP] Re: any security problems with this?

2007-06-12 Thread Stut
this stuff is to stick it outside the web root. That way only a monumentally stupid server admin or developer can make it possible for the average web user to get at it. Oh, hang on...! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Stut
"HD-DVD is uncrackable" ;) As I provided in another post, try cracking this: http://sperling.com/examples/dot-captcha/ Ummm, there's absolutely nothing to crack... The submit image is bigger than the circle, and I'm guessing Tedd is checking the coords passed through. -Stu

Re: [PHP] need to collect credit card details

2007-06-13 Thread Stut
them is also secure, both physically and virtually. Pain... a whole world of it. -Stut - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "Ross" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, June 13, 2007 10:59 AM Subject: Re: [PHP] need to collect credit card

Re: [PHP] need to collect credit card details

2007-06-13 Thread Stut
phone them through? You need to tell your client he's an idiot. Credit card details are hot potatos - don't hold on to them any longer than necessary or you're likely to get very badly burnt! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] sending mail from localhost

2007-06-13 Thread Stut
Ross wrote: ; For Win32 only. sendmail_from = mail.blue-fly.co.uk This should be an email address not just a domain. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IF with multiple values for a variable

2007-06-13 Thread Stut
Dan Shirah wrote: if ($type == 'T','D','L' { $get_id.=" payment_request WHERE id = '$payment_id'"; } if (in_array($type, array('T', 'D', 'L'))) { ... } -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP list as a blog

2007-06-13 Thread Stut
index the WRONG content with the URL. As such it breaks the link/content relationship and is a bad idea. Completely agree with this, but there are lots of reasons to include files rather than bouncing off the client with a new URL, login requirements is just one example where a redirect wo

[PHP] PHP Competition - Win a copy of Zend Studio

2007-06-14 Thread Stut
allenge IMHO. http://blog.assembleron.com/2007/06/14/php-programming-contest-win-zend-studio/ -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-14 Thread Stut
Greg Donald wrote: On 6/14/07, Stut <[EMAIL PROTECTED]> wrote: Hi All, I've been asked to be a judge in a PHP competition, and I thought I'd let you all know about it. Zend have donated some prizes, including a copy of Zend Studio Professional with 1 year of support, so it&#x

Re: [PHP] RE: London PHP salaries

2007-06-15 Thread Stut
? http://www.i-resign.com/uk/financialcentre/tax_calculator.asp -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: London PHP salaries

2007-06-15 Thread Stut
before you posted your initial question? http://www.workgateways.com/working-cost-of-living.html Says it was last updated in June, but the flat rental prices seem a bit on the low side to me. The rest looks about right tho. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] passing a url to a page

2007-06-15 Thread Stut
g_url'] = $image_url; include 'display_image.php'; Or better yet, make a simple HTML file with just an image tag. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing a url to a page

2007-06-15 Thread Stut
Daniel Brown wrote: $image_url = 'http://www.pr0nsite.com/gallery/big-boobs.jpg'; Well that was just too disappointing for a Friday afternoon. Ya tease! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Data Filtering

2007-06-15 Thread Stut
Tijnema wrote: -slut Actually it's -Stut. I hate it when people spell my name wrong! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OK to have many files in one folder?

2007-06-15 Thread Stut
the inode. ^^ ^^^ ^ 1 23 Here endeth the lesson. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Stut
WeberSites LTD wrote: Did someone say PHP competition ? Zend Studio? Here is one that has been around since April 2004 giving out prizes on a monthly basis : http://contest.weberdev.com/ Yeah, but this one has quality judges ;) -Stut -Original Message- From: Stut [mailto:[EMAIL

Re: [PHP] outputing image part 2

2007-06-15 Thread Stut
using Firefox which is the only browser I know of to do this). imagejpeg($image_resized); exit(); -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: outputing image part 2

2007-06-15 Thread Stut
Ross wrote: Thanks Stut we are getting somewhere. Removing the header gives the full binary output of the file in IE and FF. I also removes the echos and have the resized image showing in the browser. So far so good. I know it works. Now back to sending the URL. I have this $img_url

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Stut
Tijnema wrote: On 6/15/07, Stut <[EMAIL PROTECTED]> wrote: WeberSites LTD wrote: > Did someone say PHP competition ? Zend Studio? > > Here is one that has been around since April 2004 giving out prizes on a > monthly basis : > http://contest.weberdev.com/ Yeah, but

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Stut
tedd wrote: At 12:45 PM +0100 6/14/07, Stut wrote: Hi All, I've been asked to be a judge in a PHP competition, and I thought I'd let you all know about it. Zend have donated some prizes, including a copy of Zend Studio Professional with 1 year of support, so it's definitely

Re: [PHP] Form Data Filtering

2007-06-16 Thread Stut
ocs\Sweepstakes\sosValidate.php on line 114 ...etc. I also tried (in_array(strtolower($_POST[$value]), $profanity)) same result. Which line is 114? I'm betting it's not the in_array line. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Undefined index:

2007-06-16 Thread Stut
u pass it a non-existant variable. Are you sure it's this line that's causing the undefined index error? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I have a problem with nobody!

2007-06-16 Thread Stut
'[EMAIL PROTECTED]'); Go back and read http://php.net/function.mail properly. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I have a problem with nobody! SOLVED!

2007-06-17 Thread Stut
be included. It sets the envelope sender which is the address the email will get bounced to if necessary. -Stut > -Original Message- > From: BSumrall [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 17, 2007 12:39 AM > To: php-general@lists.php.net > Subject: RE: [PHP] I ha

Re: [PHP] I have a problem with nobody! SOLVED!

2007-06-17 Thread Stut
]>')>\n"; > $headers .= 'Reply-to: "Moe"<[EMAIL PROTECTED]>' >\n"; Strictly speaking, those line endings should be \r\n. > And, IF you are permitted to use the fifth parameter: > > $extra = "-f" . $fromAddress; > > mail($to,

<    2   3   4   5   6   7   8   9   10   11   >