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] 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] 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] 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] 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
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] 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] 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] 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] 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: > 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
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
. 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] [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] [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] 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] 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] 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] 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
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] 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
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] 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] 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-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] 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
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] 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
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] 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] 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] 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
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
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
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
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
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] 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
? 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
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
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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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: 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
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: [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
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
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] 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] 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] 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] 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] 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
x27;s happening? Etc. -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
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] 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] 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
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] 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] [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] 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] 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] 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] 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] 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] 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] Re: convert numerical day of week

2007-05-23 Thread Stut
27;=>'Thurdsay', '6'=>'Friday', '7'=>'Saturday'); } echo(get_day(1)); //will print Sunday Hmm, not so much. Methinks your function should return something to get the desired effect. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Marketplace Framework

2007-05-20 Thread Stut
en discussed at length. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Data Mining/Data Scraping

2007-05-20 Thread Stut
of my supplier, forward it to them behind the scenes, accept their response and display it within my website. Has anyone had any experience with this? Is there a simple, basic utility to let me do this? I was kind of hoping I could avoid developing it myself. http://php.net/curl -Stut

Re: [PHP] Just to prove my point (used to be -> Re: [PHP] People's misbehavior on the list)

2007-05-19 Thread Stut
t on the easy target. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Just to prove my point (used to be -> Re: [PHP] People's misbehavior on the list)

2007-05-19 Thread Stut
uarantee anything. The "standard", or accepted reference algorithm for threading emails can be found at http://www.jwz.org/doc/threading.html and is, I believe, still used in a large number of clients including Thunderbird. Gmail almost certainly uses their own concoction, but it probab

Re: [PHP] IE7 => end tag?

2007-05-17 Thread Stut
rauhspund wrote: My Browser IE7 reads => as in array declaration as end tag and exit from php. All text afterwards will displayed as text. Your browser should not be seeing PHP code, so you might want to start by making sure your web server is set up to process PHP files properly. -S

Re: [PHP] A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

2007-05-17 Thread Stut
e errant mental imagery. Blame Stut!! *heheh* *cackles and runs* Yup, blame me. Everything else seems to be my fault at the moment. Get to the back of the line! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

2007-05-17 Thread Stut
exist, and who don't have the necessary skills to research the differences and make an informed decision. So, from me, congratulations Richard, excellent work, keep it up. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Stut
Please include the list in replies. Afan Pasalic wrote: Stut wrote: Afan Pasalic wrote: in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on

Re: [PHP] error_reporting(E_ALL) doesn't show anything

2007-05-15 Thread Stut
write" php.ini but it doesn't work. still can't see anything. what am I doing wrong? Check the display_errors setting. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is the best way to protect the PHP page that returns the AJAX data? [solved]

2007-05-13 Thread Stut
iew Source" and read your AJAX code... This is not going to stop any serious attempt, but as one more defense-in-depth mechanism, it wouldn't hurt. Unless the user is using a browser or going through a proxy that strips or replaces the User-Agent header. -Stut -- PHP General Mailing L

Re: [PHP] Function Declared in Included File Not Being Found

2007-05-13 Thread Stut
uded file, you need to include that file before trying to use them. If you're using functions in the same file, the order of things in that file does not matter. This is *not* a bug!! Hope that clears it up. -Stut On May 13, 2007, at 1:38 AM, Richard Lynch wrote: On Fri, May 11, 2007 3

Re: [PHP] Ajax Developer

2007-05-09 Thread Stut
uses the Photoshop IDE... -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Articles system

2007-05-09 Thread Stut
Richard Lynch wrote: On Tue, May 8, 2007 2:50 pm, Stut wrote: WeberSites LTD wrote: 1st, I never said I was any authority about anything :) I'm just building the weber sites as a hobby... Hobby or not, when you publish information on the web without a big message saying "I have

Re: [PHP] Articles system

2007-05-08 Thread Stut
und a couple that look like they meet most of your requirements, install them and evaluate them properly. That's how I came to the conclusion that custom solutions tend to work best for the kind of sites I develop. YMMV. -Stut -Original Message- From: Stut [mailto:[EMAIL P

Re: [PHP] Articles system

2007-05-08 Thread Stut
hings don't look like you expect, validating the page solves the problem. That's as may be, but it doesn't mean validation guarantees it'll render "correctly", or even as you expect. -Stut I think we are a bit OT here :) I was looking to replace my article system a

Re: [PHP] Articles system

2007-05-08 Thread Stut
WeberSites LTD wrote: Not sure why it's not working with FF. the page passes validation at validator.w3.org. Validation has never and will never mean it looks right. And it worries me that someone presenting themselves as an authority on web development would think so.

Re: [PHP] Articles system

2007-05-08 Thread Stut
need to see one big scroll. Any recommendations? bitweaver www.bitweaver.org And just install articles If you find later you need another package you can simply add it, but you only need the core user stuff, and the package(s) you want to use. Hey Lester, kick your damn mail server! -Stut --

Re: [PHP] Blocking the direct download of a file

2007-05-07 Thread Stut
The "solution", as you rightly point out, is to simply allow it if there is no referrer. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Tag Cloud (WAS Deviation? Distribution? OT?)

2007-05-03 Thread Stut
Richard Lynch wrote: On Thu, May 3, 2007 10:00 am, Stut wrote: Richard Lynch wrote: $query = "select tag, popular from (select tag, count(*) as popular from entry_tag group by tag order by popular desc limit 100) as p order by tag"; I'm no expert, and I have no way to tes

<    4   5   6   7   8   9   10   11   12   13   >