Re: [PHP] best framework (pear vs zend framework)

2007-03-01 Thread Stut
Please include the list on replies. Marco Sottana wrote: potato Not really a fruit is it. Still, I'll take that to mean that you got my point. -Stut - Original Message - From: Stut [EMAIL PROTECTED] To: Marco Sottana [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday

Re: [PHP] auction scripts?

2007-03-01 Thread Stut
/PHP/Scripts_and_Programs/Auctions/index.html But bear in mind that you'll need to put stuff in place to cover all the legal issues raised by online auctions. The reason I recommended eBay is that they're set up to do this, but it's your funeral. -Stut - Original Message

Re: [PHP] auction scripts?

2007-02-28 Thread Stut
://ebay.com/ -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] get wikipedia content

2007-02-27 Thread Stut
follow their rules. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] echo text - anti-spam-spider measure

2007-02-27 Thread Stut
an image and don't link it. If it's just a way for visitors to contact you, use a contact form. You don't expose the email address and can control it a lot better. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_SERVER['PHP_SELF'] in a included file

2007-02-26 Thread Stut
this question in the past, its been a while since I last thought of this problem. __FILE__ will give you the path and filename of the current file. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_SERVER['PHP_SELF'] in a included file

2007-02-26 Thread Stut
clive wrote: Thanks Vincent,Stut and Olaf. Thats __file___ is exactly what I needed :) now for another brain teaser for your collective brains, How does a function know what file it was called from. a.php includes functions.php in a.php we call function test(); which is declared

Re: [PHP]Transform a block of code in PHP

2007-02-23 Thread Stut
Helder Lopes wrote: how to transform a block of code in html to php?? HTML to PHP? You having a laugh? What are you actually trying to achieve? -Stut for example this, p STRONGP.M.R. Leiria /STRONG - STRONG Produtos para Mec. e Racionalização Informática, Lda./STRONGbr

Re: [PHP] Which version of phpmyadmin is stable for php 5.1.6 and FC6 System

2007-02-22 Thread Stut
lists specifically for phpMyAdmin questions. Try the link below, which was found incidentally by typing phpmyadmin mailing list into Google. http://sourceforge.net/mail/?group_id=23067 -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New Menu Bar - Can people test it for me?

2007-02-21 Thread Stut
you might want to reconsider. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php forcing a post??

2007-02-20 Thread Stut
script, rather than trying to intercept the request itself. Alternatively, do an AJAX request in the onsubmit for the form that does the PHP bit, and if the response is good, then post the form. -Stut -Original Message- From: blackwater dev [mailto:[EMAIL PROTECTED] Sent: Tuesday

Re: [PHP] Predefined Classes in PHP5

2007-02-09 Thread Stut
about them someplace. Nobody has asked the obvious question yet... why? If you're just looking for what's new in PHP5, this is probably not the best way to go about it. If there is another reason, if you tell us what it is we may be able to help you further. -Stut -- PHP General Mailing List

Re: [PHP] Predefined Classes in PHP5

2007-02-09 Thread Stut
Jim Lucas wrote: Stut wrote: Jim Lucas wrote: So, to my question. Does anybody have a place they can refer me to to find out about all the available classes in PHP5. Granted that I don't have all the various extensions loaded, so I don't have access to the various classes. I would

Re: [PHP] open_basedir

2007-02-08 Thread Stut
the directories with a colon. The manual exists for a reason, please use it. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] help with mysql connect error

2007-02-08 Thread Stut
Please include the list in replies. Tim McGeary wrote: Stut wrote: Tim McGeary wrote: I am new to this list today, so if I should be sending this to another specific PHP list, please let me know. I am getting the following error via the PHP web page I am building: Warning: mysql_connect

[PHP] Re: [PHP-DB] help with mysql connect error

2007-02-08 Thread Stut
Tim McGeary wrote: Please include the list in replies. Sorry, I meant to, but hit the wrong button. And I sent it to the wrong list!! Sorry folks. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Server Stall

2007-02-06 Thread Stut
should go out and plant a tree. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Server Stall

2007-02-06 Thread Stut
Sancar Saran wrote: Yes you are absolute right. Session was locked... Thanks for info :) No problem, but please include the list in replies especially when you're confirming a possible explanation. It helps improve the usefulness of the archives. -Stut On Tuesday 06 February 2007 13:54

Re: [PHP] PHP book reviewers wanted

2007-02-06 Thread Stut
. Indeed. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] who is online?

2007-02-05 Thread Stut
this is not a question for a PHP list because it relates to client-side code. Google will almost certainly have several useful sites. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] who is online?

2007-02-05 Thread Stut
page? The bottom line is that this needs some client-side code to work, whether it be Javascript or just an iframe with a meta refresh tag. -Stut - Original Message - From: Stut [EMAIL PROTECTED] To: benifactor [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, February 05

Re: [PHP] PHP5 Commercial Development

2007-02-05 Thread Stut
. It is perfectly fine to use it in a commercial environment however. I feel the same way about cars. There are some terrible drivers out there, so we should all take the bus. Won't work. There are some *really* terrible bus drivers out there. -Stut -- PHP General Mailing List (http://www.php.net

Re: [PHP] _GET('name') truncates

2007-02-05 Thread Stut
below snip I do not understand why the value of the sql parameter is truncated. Any help is appreciated!! If you really care then you need to sniff the traffic. Chances are that either the browser or server is truncating it. Oh, and please tell me you're not really doing that -Stut

Re: [PHP] Read file on file system

2007-02-04 Thread Stut
, and reading the output you're seeing, I have determined that... ahh, hang on a second, I've started seeing code where no code exists. Is that a bad thing? Should I see someone? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
or stream functions. If that is the case then I don't see where the Client Browser comes into it. Please elaborate further on what you are actually trying to accomplish. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Read file on file system

2007-02-04 Thread Stut
$filenane = d:\\test.csv if (file_exists($filename)) echo file_get_contents($filename); else echo 'File not found'; ? ...and nothing else. Do you get any errors? Are errors turned on in php.ini? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Read file on file system

2007-02-04 Thread Stut
Stut wrote: $filenane = d:\\test.csv Oops... $filename = d:\\test.csv; -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
connection but use the existing TCP connection. Ok, couple of questions... 1) Why? 2) Why? What is making these connections from the client side? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
Jiffy Slides Leonard Burton wrote: XAJAX or another AJAX library, perhaps? Sorry, I missed a question. 3) Why do you need to use the same TCP connection? -Stut On 2/4/07, Stut [EMAIL PROTECTED] wrote: chetan rane wrote: i want to write a script where , when ny client requests come i

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
versa i think this makes it clear. OK, so you're basically making a server app. I suggest you start here: http://php.net/stream-socket-server -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login script login

2007-02-02 Thread Stut
the customer/user/whatever you need from the given details if (not found) { die('Unable to locate customer/user/whatever'); } // Set up the session here, or however you're tracking the // current customer/user/whatever header('Location: /somewhere_else'); ? Hope that helps. -Stut -- PHP General

Re: [PHP] Login script login

2007-02-02 Thread Stut
part of the site. Having it happen again because of the user refreshing the page needs to be avoided. The redirect accomplishes this. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Socket problem plz read.

2007-01-31 Thread Stut
do that, make sure the Python side is right, for which you'll need a Python mailing list. -Stut code # Set the socket parameters host = http://localhost/in/sql.php; port = 1 buf = 1 addr = (host,port) # Create socket UDPSock = socket(AF_INET, SOCK_DGRAM) # Send messages: # Loop while

Re: [PHP] Socket problem

2007-01-30 Thread Stut
for more infomation. No thanks, I'm good. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php code to upload a url correctly

2007-01-26 Thread Stut
://othersite.org/, in which case do the check up to the first '.'. if (false === strpos(substr($url, 0, strpos($url, '.'), '://')) { $url = 'http://'.$url; } I don't have numbers, but I'd bet this is quicker than doing a parse_url. -Stut -- PHP General Mailing List (http://www.php.net

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-26 Thread Stut
.= implode(',', array_values($values)); $sql.= ')'; return $sql; } Note that this is a *very* cut down and untested version of BuildInsert. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread Stut
format (var1=val2var2=val2). -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: socket_write buffer problem

2007-01-22 Thread Stut
} Your problem is that you made lazy assumptions, and we all know that assumptions are the mother of all fsckups. Now please irradiate your hands and try again. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: socket_write buffer problem

2007-01-22 Thread Stut
response was rude and not very helpful to a newbie to PHP. I apologise if you took my response to be rude, that was not my intention. As I said before, if you want help you need to give us accurate information. We're not mind readers. -Stut PS. Look into my eyes, just the eyes, not around the eyes

Re: [PHP] Request for...

2007-01-20 Thread Stut
results, just how dumb are you? -Stut Easily annoyed today. Must be a Saturday, I never could get the hang of Saturdays. [Doug is dead, long live Doug!!] Ramble ramble ramble. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] most powerful php editor

2007-01-20 Thread Stut
. It's also a hell of a lot of fun!! Or did you mean a different kind of powerful? -Stut PS: If you think it's a common question, search the list archives before posting. Actually, before you post any question you should search the list archives. And Google. And your brain. And down the back

Re: [PHP] Scope of include

2007-01-18 Thread Stut
= 'foo'; Then it's scope is the function including the file. It's important to have this clear in your head when dealing with included files, so I wrote an example that will hopefully demonstrate it for the OP... http://dev.stut.net/php/scope/ -Stut -- PHP General Mailing List (http

Re: [PHP] $_SESSION variable gets lost on FORM action

2007-01-16 Thread Stut
/header), you read that right? ?php header(Location: http://www.example.com/;); /* Redirect browser */ /* Make sure that code below does not get executed when we redirect. */ exit; ? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache and include

2007-01-12 Thread Stut
jsut a big blank space where the menu should be. I have error_reporting = E_ALL switched on in the .ini Any ideas? Check that the display_errors option is on. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forms and destroying values

2007-01-12 Thread Stut
again. Hope that makes it clearer. -Stut -Original Message- From: Satyam [mailto:[EMAIL PROTECTED] Sent: January 12, 2007 8:21 AM To: Beauford; PHP Subject: Re: [PHP] Forms and destroying values This issue comes over and over again. The trick, as I learned from this list, is to send

Re: [PHP] Updating episode info on podcasts?

2007-01-12 Thread Stut
if anyone on the list has dealt with this kind of thing and what kind of strategies were employed. That's basically it. I'm assuming that you're only storing the data for each feed once even if several users are subscribed to it. -Stut -- PHP General Mailing List (http://www.php.net

Re: [PHP] Updating episode info on podcasts?

2007-01-12 Thread Stut
Please keep it on list so others can benefit from the discussion. Skip Evans wrote: Stut wrote: A well-formed feed should have a TTL value that defines how often the feed should be checked. I thought there might be something like that and looked at several of the feeds in the DB and found

Re: [PHP] Please Help with simple Noob problem

2007-01-11 Thread Stut
, there is a manual: http://php.net/install.unix.apache2) for specific instructions, but your httpd.conf needs at least the following two lines (paths on your system may differ)... LoadModule php5_module modules/libphp5.so AddType application/x-httpd-php .php .phtml -Stut -- PHP General Mailing List (http

Re: [PHP] Please Help with simple Noob problem

2007-01-11 Thread Stut
application/x-httpd-php-source .phps AddType application/x-httpd-php .phtml I then restarted apache (service httpd restart) and tried viewing the pages again; same outcome. Check the Apache error log - I'm guessing it's failing to initialise the PHP module. -Stut On Thu, 2007-01-11

Re: [PHP] Downloading a binary file

2007-01-11 Thread Stut
. This particular topic is covered *a lot*. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Downloading a binary file

2007-01-11 Thread Stut
time this month. That's all I'm saying. -Stut -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 3:03 PM To: Sugrue, Sean Cc: php-general@lists.php.net Subject: Re: [PHP] Downloading a binary file Sugrue, Sean wrote: I need download a binary

Re: [PHP] Domain Search

2007-01-09 Thread Stut
Marcelo Ferrufino Murillo wrote: I have to make a domain search so I don´t know if there is an API or something that could help me in this o if you know how I could make this. What do you mean by a domain search? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] convert w date to l format

2007-01-06 Thread Stut
= 'Thursday', 5 = 'Friday', 6 = 'Saturday', 7 = 'Sunday'); $day = $days[$day]; -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] High-Level Design Question, Podcast, Playlists, Content-Rich

2007-01-05 Thread Stut
the individual tags, but you can associate each feed entry with a webpage (commonly called the shownotes) where you can provide the full ID3 tags for each individual source file and you'll have control over the order. -Stut First, let me say up-front, that technologically-speaking

Re: [PHP] Problem with file reading

2007-01-05 Thread Stut
version you're probably better off using file_get_contents instead of fopen/fread/fclose. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's this image tag for?

2007-01-05 Thread Stut
thoughts, insights would be greatly appreciated. That's really a question for the ad company to answer according to their policy. You'll probably an answer in their instructions somewhere. We can't give you an authoritative answer on a specific company's policy. -Stut -- PHP General Mailing

Re: [PHP] Some advice / points / help

2007-01-05 Thread Stut
:-) Don't forget Google, your second best friend. Google for php mysql tutorial and you'll find a ton of stuff. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with file reading

2007-01-05 Thread Stut
nit-picking and go back to quoting standards. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with file reading

2007-01-05 Thread Stut
file in a different directory - I should have been clearer on that. I never said anything about being relative to the document root - you pulled that out of somewhere yourself. Happy now? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re:[PHP]clases en sesiones

2007-01-05 Thread Stut
Jochem may be on to something with the idea of using auto_prepend_file but I can't say for certain whether this is done before or after the auto_start. If it is before then you could declare the __autoload function in the prepended file and it should work. -Stut -- PHP General Mailing List

Re: [PHP] Re:[PHP]clases en sesiones

2007-01-05 Thread Stut
Richard Lynch wrote: On Fri, January 5, 2007 4:36 pm, Stut wrote: Richard Lynch wrote: WILD GUESS Search on php.net for __autoload I think that will let you figure out a way to get the auto_start session to automatically load your .class.php files, when it needs them. Nice idea

Re: [PHP] E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

2007-01-04 Thread Stut
a complex database ORM-HTML mapping app that was about 10% faster when I replaced all the strings with '' strings. This was on a slow machine with an early PHP, but little things like this can be very important. http://dev.stut.net/phpspeed/ -Stut -- PHP General Mailing List (http

Re: [PHP] E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

2007-01-04 Thread Stut
Robert Cummings wrote: On Thu, 2007-01-04 at 10:15 +, Stut wrote: Gregory Beaver wrote: This is a good example of how the flexibility of PHP can bite you, but is also a good example of how bad coding adds both complexity and inefficiency to the resulting software. If f() is called

Re: [PHP] E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

2007-01-04 Thread Stut
. It's a good idea though, if I get some time over lunch I'll add it. I had an eerie feeling I was being watched. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

2007-01-04 Thread Stut
have a look tomorrow. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

2007-01-04 Thread Stut
time. I was bored when I wrote it. Dunno what the other guys reasons are. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular Expression help

2007-01-04 Thread Stut
the expression. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem using PHP with Apache (probably something silly)

2007-01-04 Thread Stut
usually stems from mixing files from different PHP versions. Best advice I can give is to remove all traces of PHP from the machine and then put them back using the ZIP file from the PHP website. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Date problems

2007-01-04 Thread Stut
Beauford wrote: $query select count(date) as count, YEAR(date) as thisyear from stats group ^ = needed here by thisyear; -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Stut
and thank $DEITY that there is no non-spam header. Anyway, moving on... Whether an email is marked as spam or not depends on a lot of factors. Check the archives - this has been discussed a few times in the past few months. -Stut Roman Neuhauser wrote: Surely Thunderbird provides

Re: [PHP] Port Block

2007-01-03 Thread Stut
that. If that is not the case, and your ISP has actually completely blocked outgoing connections on port 25, I suggest you find a new ISP. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help me about detect client screen resolution!!!

2007-01-02 Thread Stut
Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? No we can't. You need Javascript or another client-side technology for that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please help me

2007-01-02 Thread Stut
the headers and displaying the raw message. I'm gonna go with the former since hopefully you'd remember if you'd told your mail client to do the latter. -Stut On 1/2/07, zoticaic [EMAIL PROTECTED] wrote: -- My Seeding Blog | http://bytes.nullp0inter.com Hire me as Freelancer | http

Re: [PHP] Please help me

2007-01-02 Thread Stut
and the Content-Type header. This will cause the headers after MIME-Version to be ignored. -Stut On 1/2/07, *Stut* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Anju Prasad wrote: I am doing that but still not getting any fruitful results. Show us exactly what you're doing

Re: [PHP] Formatting time :/

2007-01-02 Thread Stut
? http://php.net/date $time = date('H\hi', strtotime('00:00:00')); Or, if the input format is always the same, you could do it like so... $time = str_replace(':', 'h', substr('00:00:00', 0, 5)); -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Concerning SSL

2007-01-02 Thread Stut
it another way, give us the real URL to your site and we may be able to help. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with mysql_real_escape_string()

2006-12-28 Thread Stut
database before using mysql_real_escape_string. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP podcasts

2006-12-27 Thread Stut
. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP podcasts

2006-12-27 Thread Stut
seeing some code and the XML feeds that the code is using. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Excluding apostrophe's

2006-12-22 Thread Stut
: mysql_real_escape_string(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Any help would be appreciated. You need to connect to the database before using mysql_real_escape_string. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] sessions vs domain problem

2006-12-22 Thread Stut
that will let you use your domain name. Incidentally, someone else suggested setting the cookie domain. This will not work because security restrictions prevent you from setting cookies on a different primary domain name. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] um ... arrays

2006-12-21 Thread Stut
, but it will have no effect on an empty array. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MS Outlook 2003 Options

2006-12-21 Thread Stut
to an IMAP mailbox and I then use Thunderbird from work, home and laptop to access it. Works very well. 3) At work I am forced to use Outlook, so I use Outlook QuoteFix to, erm, fix the quoting in Outlook... http://home.in.tum.de/~jain/software/outlook-quotefix -Stut -- PHP General Mailing

Re: [PHP] Are PHP5 features worth it?

2006-12-20 Thread Stut
Robert Cummings wrote: On Wed, 2006-12-20 at 15:14 +0100, Bernhard Zwischenbrugger wrote: AJAX Webapplications are not possible in PHP4. Bullshit. Indeed, what with PHP being server-side and AJAX being client-side. Where AJAX is concerned the server-side technology is irrelevant. -Stut

Re: [PHP] Do Sockets Cache?

2006-12-20 Thread Stut
to give you a better answer. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Clearing POST variable on page refresh

2006-12-17 Thread Stut
which is then what will be retrieved if the user refreshes it, rather than refreshing the POSTed request. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php redirection..

2006-12-16 Thread Stut
. -Stut On 12/15/06, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, December 15, 2006 10:28 pm, Casey Chu wrote: Actually... Search engines don't have a JavaScript interpreter. Actually... You don't know for sure that Google isn't using Perl's javascript interpreter. Unless you work for Google

Re: [PHP] date() and timezone

2006-12-14 Thread Stut
-2. Is there a way to change the default timezone for all scripts within a folder? And what about changing just one? http://php.net/date_default_timezone_set -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and connection to mail account

2006-12-13 Thread Stut
but I do know that with Postfix you can apply a limit to the number of simultaneous processes that are started if you implement it in the transport map. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Automating PHP email

2006-12-12 Thread Stut
this process as I am a bit weary of using cron Can anyone suggest how I can automate this using PHP ? Face your fear use cron. You know it's the right thing to do. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file uploads Q?

2006-12-12 Thread Stut
Børge Holen wrote: No, I LEARN from this list. you? I smoke this list. Keeps me happy, out of trouble, and best of all it's free! -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file uploads Q?

2006-12-12 Thread Stut
Jochem Maas wrote: and say what *you* mean. I LIKE MARMITE!! Damn, that does feel better. -Stut (fairly bored today) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php redirection..

2006-12-12 Thread Stut
what you have output. I suggest you Google for examples of the settimeout Javscript function - that's what you need to delay the redirect. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php redirection..

2006-12-12 Thread Stut
bruce wrote: hey stut... Please don't reply to me directly, always include the mailing list. thanks for the reply... i did get some output... i also have a question as to why i couldn't get it to work when i used 'header (foo.php)' 1) The correct way to redirect using the header function

Re: [PHP] How to be sure to use SSL

2006-12-08 Thread Stut
/somewhere. I'm sure something similar is possible in most web servers. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] signal handling

2006-12-08 Thread Stut
) { pcntl_wait($status, WNOHANG); $workers--; sleep(1); } That sits waiting for up to 5 minutes for all processes to end. -Stut ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hiding passwd in cmdlines that appear in the process list

2006-11-29 Thread Stut
overridden by the stdin redirect (at least it does on FreeBSD 5.4). Jochem: You need to read this... http://dev.mysql.com/doc/refman/5.0/en/password-security.html -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hiding passwd in cmdlines that appear in the process list

2006-11-29 Thread Stut
(usually the keyboard on a standard console). -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CLI script exec() - how to control what gets dumped on the screen.

2006-11-28 Thread Stut
to redirect stderr output to stdout in the command... exec('apache2ctl graceful 21', $output, $exit); Also, in my experience it's better to provide the full path to anything you shell out to from PHP, especially if it's going to be executed from a web request. -Stut -- PHP General Mailing List

Re: [PHP] Storing objects in sessions recursively

2006-11-27 Thread Stut
{ public __construct($param = null) { if (!is_null($param)) { // Parameter passed, do something with it } } } -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    6   7   8   9   10   11   12   13   14   >