Re: [PHP] Change dir mode to writable for uploading..
Another neat trick is to use ftp to upload, avoiding the need to change permssions. - Original Message - From: "Dhaval Desai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 24, 2001 12:25 AM Subject: [PHP] Change dir mode to writable for uploading.. > Hi! > > I have problem uploading the file to a directory... > It says permission denied. THe problem is taht ther > directory is on the web. > I connect using WS_ftp. > THe directory is set to: > > drwxr-xr-x > > How do I make it writable..? > > > I am using form to upload the files there.. > > > Is there any way I can make the directory writable..? > > Thank You! > > Dhaval Desai > > __ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Want to send email in html format
One fairly easy way is to use Richard Heyes html mail class available at phpclasses.upperdesign.com > I am working on a newsletter module. What I want > to know is that how can we send a newsletter via > email to all the subscribers in html format > with images in the htm too??? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
www.texasmonthly.com is the site I manage.. converted to php over the last year -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Geeklog or phpSlash?
I'm setting up a slashdot style site using PHP, and am looking for recommendations for ready-to-use packages, such as geeklog and PhpSlash. Has anybody used either of these, got any comments, or suggestions for other software. TIA, Charlie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Geeklog or phpSlash?
Yes, this looks very good, thanks for the recommendation - Original Message - > phpnuke would be my recommendation > > www.phpnuke.org > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Geeklog or phpSlash?
By the way, I am having problems with the javascripts that are enabled by default with PHPNuke.. I'm going to disable them for now until I can figure out what is wrong. Charlie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Unusual error.
Does the MySQL user have permission to execute this query on the new table? > >line 14 is $result = mysql_db_query... I've never encountered this, and it >only happens when I change the table it's supposed to look into for the >data. Using the old table, it's fine, The new table, it gives me the >above >error. Any suggestions? > _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] errors when included functions call functions
Can someone explain to me why this does not work... All pages on my site header and footer files... the header file calls an to config.inc and functions.inc I have a function to connect to the db in functions.inc, that many other functions and includes use. All works fine but, I have a login page similar to all other pages with calls.. this page is entirely written from a function... Now, calls to functions from .inc files included in the login page (with me so far) do not work... My connect function will not connect... writing this out I realize that it is seems quite complex, but my question is... can I not call functions from scripts that are included in a page that is itself written out from a function? Charlie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Run a script for 20minutes
If you don't want to run the script from the command line you can use ignore_user_abort with set_time_limit(?) in the script to allow you to close the browser and let it do its thing. > I have PHP3 and MySQL on Win98 and am trying to run a script that loops > through a file making process and it needs about 20 - 30 minutes to run. It > generates static HTML files based on content in a database. I've increased > Internet Explorer's timeout to allow for this but for some reason only about > half the processing is done before everything seems to just stop. > > Does anyone know of a very basic way of executing a PHP script on a Win98 > machine without the need for a browser? Or, another way of running this > script that will take some time and create some 22,000 files through the > process. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] $PHP_SELF in Netscape PART 2
A comma works when you use echo. Is there any reason why this is a bad idea? Charlie Llewellin - Original Message - From: "John Vanderbeck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 9:11 AM Subject: Re: [PHP] $PHP_SELF in Netscape PART 2 > > You are using commas instead of periods, use ".$PHP_SELF." instead of > > ",$PHP_SELF," (and for the other instances as well). > > Huh? I am going off of the example from the PHP documentation: > > >From http://www.php.net/manual/en/function.urlencode.php > echo ''; > > So I am using that as a model: > echo ' A HREF=" ', $PHP_SELF, '?mode=index&category=', > urlencode($cateogory), ' ">Blah'; > > - John Vanderbeck > - Admin, GameDesign > > > > > > > Visit the Gates Motel webgame: > > http://www.gameslate.com/gatesmotel/ > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] ereg problem
the - needs to be immediately after the [ to include that character. Otherwise it is a range indicator. Charlie - Original Message - From: "CC Zona" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 12:56 PM Subject: Re: [PHP] ereg problem > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Janet Valade) wrote: > > > if (!ereg("^[0-9\-\+\.\ \)\(]{10,}$",$value)) { > > > > Can anyone tell me why this works for every character except the -. It > > doesn't see the hyphen as a valid part of the phone number, even though it > > recognizes the other characters, e.g. + or . > > Try: > if (!ereg("^[0-9+. )(-]{10,}$",$value)) > > -- > CC > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] validating an e-mail address entry
Or ,as has been mentioned before, use the Manuel Lemos email validation class which will attempt to verify that the address can recieve mail. - Original Message - From: "Don" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 9:50 AM Subject: [PHP] validating an e-mail address entry > Does anyone know of a way to validate an e-mail address that was entered > and submitted from a form? I would like to trap invalid syntax. > Perhaps there exists a script that does just that? > > I assume valid syntax is the following: > > One or more characters before the @ sign, followed by an optional '[', > then any number of letters, numbers, dashes or periods (valid domain/IP > characters) ending in a period and then 2 or 3 letters (for domain > suffixes) or 1 to 3 numbers (for IP addresses). An ending bracket is > also allowed as it is valid syntax to have an email address like: > user@[255.255.255.0]. > > Thanks, > Don > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]