Re: [PHP] Ensuring all links go to index.php

2006-10-20 Thread Lowell Allen
(). Is that what you mean? -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simultaneous post/get?

2006-06-12 Thread Lowell Allen
Uploader http://sourceforge.net/projects/uber-uploader. -- Lowell Allen Lowell: I don't do windows, I'm a mac guy. Me too, but Windows IE has so many problems I find it necessary to also have a Windows system to check things. However, I do have a BrowserCam account and on remote access under

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread Lowell Allen
months ago and finding that it works in most browsers, but not in Windows IE6 (of course). Is it working in Windows IE6 for you? I got a working upload progress bar by using Uber Uploader http://sourceforge.net/projects/uber-uploader. -- Lowell Allen -- PHP General Mailing List (http

Re: [PHP] Sending arrays from page to page

2005-11-17 Thread Lowell Allen
as a hidden form value: http://us2.php.net/manual/en/function.serialize.php You may need to also encode the serialized value: http://us2.php.net/manual/en/function.base64-encode.php HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] OS Detection

2005-11-17 Thread Lowell Allen
suggestions on getting the OS ? If you're using the above to match parts of the $_SERVER[HTTP_USER_AGENT] string, why not also use stristr() to look for windows, mac, etc.? -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scary nonsense form submissions

2005-09-05 Thread Lowell Allen
are found. I also added two returns following my own mail headers, which supposedly prevents an injection of additional headers -- see http://us2.php.net/manual/en/ref.mail.php#55112. And see the recent thread on this list -- Be careful! Look at what this spammer did. -- Lowell Allen -- PHP General

Re: [PHP] Re: SFTP problems

2005-06-20 Thread Lowell Allen
, and the remote server will be Windows (although I'm now testing on Linux), so that's why I have the t flag, but you're probably right to suggest just using b in all cases. Thanks for your reply. -- Lowell Allen Lowell Allen wrote: I need to use SFTP to send text files and binary files from one

[PHP] SFTP problems

2005-06-19 Thread Lowell Allen
to try PECL/ssh2, but now I'm stuck. Anybody successfully using fopen with SFTP or anybody using ssh2_sftp_send without getting truncated files? -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: SFTP problems

2005-06-19 Thread Lowell Allen
On Jun 19, 2005, at 12:37 PM, M. Sokolewicz wrote: Lowell Allen wrote: I need to use SFTP to send text files and binary files from one server to another, but I'm unable to use fopen on the remote server, and if I send with ssh2_scp_send the files are truncated. I'm assuming the libssh2

[PHP] SFTP problems

2005-06-18 Thread Lowell Allen
to try PECL/ssh2, but now I'm stuck. Anybody successfully using fopen with SFTP or anybody using ssh2_sftp_send without getting truncated files? -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SFTP problem

2005-06-18 Thread Lowell Allen
to try PECL/ssh2, but now I'm stuck. Anybody successfully using fopen with SFTP or anybody using ssh2_sftp_send without getting truncated files? -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Installation

2005-06-09 Thread Lowell Allen
PHP. Or which file (if any) to configure. Can someone please help me? Tony Suggest you try this product which installs Apache, PHP, MySQL (and more) at the same time: http://www.reactorserver.com/. It makes it very easy to set up a test server on a Windows box. -- Lowell Allen -- PHP

Re: [PHP] cURL FTP

2004-12-15 Thread Lowell Allen
On Dec 15, 2004, at 8:47 AM, Ian Firla wrote: On Wed, 2004-12-15 at 08:27 -0500, Lowell Allen wrote: I'm trying to FTP a text file from a commercial hosting server, but the file isn't being transferred and I'm not getting any feedback from the script. Here's the code: [snip] $c = curl_init

[PHP] cURL FTP

2004-12-15 Thread Lowell Allen
to upload to runs in a shared hosting environment. I've read what I think are the relevant sections of the manual. I'd appreciate info or links to info on setting up cURL to do an FTP transfer and return the success or failure of the operation. Thanks. -- Lowell Allen -- PHP General Mailing List

[PHP] ftp_put() problem

2004-12-15 Thread Lowell Allen
ftp_fput(). -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] antique PHP problem

2004-09-11 Thread Lowell Allen
on using $HTTP_SESSION_VARS. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upload changes accented character

2004-08-01 Thread Lowell Allen
? Setup is PHP 4.3.2 on FreeBSD 4.10, Apache 1.3.27. TIA -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] binary data in php

2004-04-16 Thread Lowell Allen
-- was necessary in my code recently. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping php content output for valid html

2004-04-16 Thread Lowell Allen
. You could set up str_replace() translations to correct invalid character entity codes before displaying. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP editor

2004-04-15 Thread Lowell Allen
? Zend Studio endorsements? Is it worth the time to learn to use? -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Upload file field not working as a form element

2004-03-21 Thread Lowell Allen
The uploaded file name will be $HTTP_POST_FILES[filename][name] -- use that rather than $_POST[filename]. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Upload file field not working as a form element

2004-03-21 Thread Lowell Allen
. The $HTTP_POST_FILES array works for me. Maybe you need to try the $_FILES array instead. Take a look at the info in the manual: http://www.php.net/manual/en/features.file-upload.php#features.file-upload. post-method. -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] What's your favorite PHP weather code?

2004-02-28 Thread Lowell Allen
I'm looking for some code to get the latest weather and put it on my webpage, and have it very customizable. What are your favorites? I've only tried this one -- found it easy to work with: http://www.cruelacid.com/?page=weather -- Lowell Allen -- PHP General Mailing List (http

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Lowell Allen
to display a page (after authorization), then use the PHP header redirect to force the download while keeping the same page display. However, using a meta refresh to a script that forced the download (without producing any display) was an easy solution. Am I overlooking a better solution? -- Lowell

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Lowell Allen
--- Lowell Allen [EMAIL PROTECTED] wrote: [snip] Am I overlooking a better solution? I'm not sure. To be clear, you're saying that the following two things do not behave the same for you: header('Refresh: ...'); meta http-equiv=Refresh ... Is this right? I suspect that you might

[PHP] Can PHP redirects be detected?

2004-02-09 Thread Lowell Allen
from simply sniffing the UA string from a single request and serving altered content. What say you, PHP list? Would it be better (in terms of search engine detection) to use include() to serve different or altered content? TIA -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] Can PHP redirects be detected?

2004-02-09 Thread Lowell Allen
On Mon, Feb 09, 2004 at 02:31:16PM -0500, Lowell Allen wrote: A recent thread on the WebDesign-L raised the question of whether search engines can detect (and penalize sites for) PHP redirects of the form: header(Location: http://www.whatever.com/;); I don't see how that could be the case

Re: [PHP] Need a way to automate user logout

2004-02-07 Thread Lowell Allen
tried using the Javascript onunload event to open a new window which runs a PHP script to unlock the record then close itself, but that doesn't work if pop-up blocking software is being used. Does your method do something similar? Does it work with pop-up blocking? -- Lowell Allen -- PHP General

Re: [PHP] transactions

2004-01-29 Thread Lowell Allen
Is there anyway to do something similar to Transactions in mysql? Yes -- http://www.mysql.com/doc/en/ANSI_diff_Transactions.html -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] spelling without aspell/pspell?

2004-01-17 Thread Lowell Allen
-- if you've searched for information on a spell checker, I'm sure you saw Jspell -- http://www.jspell.com/jspell.html. It's Java and Javascript, but I found it fairly easy to add to a PHP CMS. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] regexp with mysql

2004-01-15 Thread Lowell Allen
there recently. Also, there's a MySQL discussion list at http://lists.mysql.com/. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Calendar.

2004-01-15 Thread Lowell Allen
Hi, Is there any PHP function or set of PHP files that allows me to print the current month in calendar format ? You should write one. Here's mine, which I'm sure could be improved: HTH -- Lowell Allen function display_calendar($mon, $year) { // find current date and day of the month

[PHP] Locking and unlocking records

2004-01-15 Thread Lowell Allen
, and close the new window onload -- very nasty and unreliable with pop-up blocking so popular. Can anyone suggest an all-PHP way? TIA -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql selecting question

2004-01-14 Thread Lowell Allen
, and you only want to return one random result you can use: $query = SELECT * FROM table WHERE id10 ORDER BY RAND() LIMIT 1; I don't know if that works without the LIMIT clause; give it a try. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] URL rewriting...anybody done this?

2004-01-14 Thread Lowell Allen
); exit(); - That pulls page content based on $REQUEST_URI. I build site menus from the database, using values from the MenuPath field as URLs. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] URL rewriting...anybody done this?

2004-01-14 Thread Lowell Allen
. Any ideas? [snip] Make sure you upload the .htaccess file as ASCII mode, not binary. (That wasted lots of my time recently.) -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload and PullPicture???

2004-01-13 Thread Lowell Allen
. $userfile_name . uploaded sucessfully and image information saved./p\n); -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rename generates level 2 warning but works

2003-12-31 Thread Lowell Allen
script that did not recognize files when using $_FILES, but worked fine with $HTTP_POST_FILES -- PHP 4.3.4 on Linux. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rename generates level 2 warning but works

2003-12-31 Thread Lowell Allen
Lowell Allen wrote: Try using $HTTP_POST_FILES['uploadedFile']['name'] instead. I wasted a bunch of time yesterday with an upload script that did not recognize files when using $_FILES, but worked fine with $HTTP_POST_FILES -- PHP 4.3.4 on Linux. Thank you for the suggestion

Re: [PHP] Selecting between using letters

2003-12-29 Thread Lowell Allen
. $sql = SELECT * FROM table WHERE LastName REGEXP '^[A-E]'; HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Structuring keyword searches

2003-12-09 Thread Lowell Allen
archives. I like the Luke Welling, Laura Thomson approach for keyword searching described in PHP and MySQL Web Development -- http://www.lukelaura.com. The system described is your option (1) above, and allows the keywords to be weighted by the contributors. HTH -- Lowell Allen -- PHP General

Re: [PHP] PHP Dynamic menu building

2003-12-05 Thread Lowell Allen
); } } } echo(/ul); } echo(/li); } else { echo(lia href=\ . $PHP_SELF . ?id= . $menu[0] . amp;pid=0\ . $menu[2] . /a/li); } } } echo(/ul\n); HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Sessions, ending and starting new with just a click

2003-12-03 Thread Lowell Allen
id when saving to the db. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session Expiration Problem....

2003-12-03 Thread Lowell Allen
considered rewriting the PHP script that's receiving the form post so that if the session has expired it will re-display a simplified version of the form (without showing protected content) with the posted data, and provide a link to open a login form in a new (small) window. HTH -- Lowell Allen -- PHP

Re: [PHP] Quick ereg_replace question

2003-12-02 Thread Lowell Allen
character (or last) so it's not seen as showing a range. Also, any good references for regular expressions? O'Reilly's Mastering Regular Expressions, by Jeffrey Friedl. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having fits with input to array

2003-11-14 Thread Lowell Allen
used the same eval in another page I get each part separated by the comma as a separate element in the array. What in the world am I doing wrong? For $psArray to be an array, shouldn't it be: eval(\$psArray[] = array(\$ps2);); -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] help create community newbie guide to security

2003-11-11 Thread Lowell Allen
-formatted email) TIA -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help With Recursion Multi-Dimensional Arrays

2003-11-09 Thread Lowell Allen
to at this stage), but HTH. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cell Colour Change!!! HELP

2003-11-07 Thread Lowell Allen
-- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dictionary

2003-11-05 Thread Lowell Allen
is a dictinary of some sort to try and eliminate the lines where and english word does not exist !! Anyone got any ideas ... greatly appreciated The GNU Aspell project includes dictionaries: http://ftp.gnu.org/gnu/aspell/dict/ -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] Mailing List

2003-11-03 Thread Lowell Allen
the number of addresses selected and how often the crontab calls the script, the email rate is controlled. And using a crontab makes it a background process. The email message is created and list progress monitored through a content management system. -- Lowell Allen -- PHP General Mailing List

Re: [PHP] more proplems with passing arrays

2003-11-02 Thread Lowell Allen
files follow this URL... I have success using base64_encode before serializing an array to be passed. Like so: $serial_array = base64_encode(serialize($original_array)); Then in the code that gets the serialized array: $original_array = unserialize(base64_decode($_GET[whatever])); HTH -- Lowell

Re: [PHP] Sessions

2003-10-11 Thread Lowell Allen
level as my publicly viewable files (public_html), I mean that the session directory is not contained within public_html, but is outside it at the same directory level on the server. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Sessions

2003-10-10 Thread Lowell Allen
files if you can) and before the 'session_start();' line, do 'session_save_path(../my_sessions_dir);'. Also be aware that circumstances on the client side can mess with session cookies and cause the session to be lost, like using Internet Explorer with Entourage in Mac OS X. -- Lowell Allen

Re: [PHP] Form Passed Multidimension Array

2003-09-26 Thread Lowell Allen
it back into an array: $array = unserialize(base64_decode($portable_array)); -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session info stored on server

2003-09-26 Thread Lowell Allen
for any insights. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session info stored on server

2003-09-26 Thread Lowell Allen
by other virtual hosts on the same server. So if I want to create sessions that last indefinitely (as least as far as the server is concerned), do I need to write my own session functions that use a database to store the session ID? -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] XHTML / CSS

2003-09-22 Thread Lowell Allen
First, excuse-me for this out of topic message. I am searching a good mailling-list for people trying to write standard XHTML and CSS. css-discuss http://www.css-discuss.org/mailman/listinfo/css-d -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Web server file perms || More than I can chew.....

2003-09-19 Thread Lowell Allen
script that actually does the update. The script checks the database flag and does the updates if they've been requested (flagged). Bottom line -- discuss the problem with your commercial host and see what they suggest. -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] Is there an issue using sessions with IE/Mac?

2003-09-09 Thread Lowell Allen
-- I've since gone to OSX and can't duplicate the problem on my system. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] password systems

2003-09-02 Thread Lowell Allen
Anyone have any sources of noun/verb/adjective lists for password generation? Google search for Aspell and Pspell. Here's a link to Aspell info, which has a link to dictionaries: http://aspell.net/ -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Creating files in public_html

2003-08-29 Thread Lowell Allen
third post concerning this (rephrased and refocused each time). Does anyone else need to create and update files in their main directories? Is this a security problem? Do I need to completely rewrite the CMS to use a subdirectory? -- Lowell Allen -- PHP General Mailing List (http://www.php.net

[PHP] How to exec PHP as CGI

2003-08-27 Thread Lowell Allen
script headed with #!/usr/bin/php -q? And how do I return something to tell me if execution was successful? I'm searching through the manual, but links to good examples (or outright explanations) would be greatly appreciated. -- Lowell Allen -- PHP General Mailing List (http://www.php.net

[PHP] PHP permissions problem

2003-08-26 Thread Lowell Allen
1.3.28 -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP permissions problem

2003-08-26 Thread Lowell Allen
* Thus wrote Lowell Allen ([EMAIL PROTECTED]): My commercial host is set up with the public root directory, public_html, owned by user: userid, group: nobody. Directories I create within public_html are owned by user: userid, group: userid. As a result, PHP does not have permission to create

Re: [PHP] problem passing variable between forms.

2003-08-26 Thread Lowell Allen
= base64_encode(serialize($array)); You can then pass $portable_array as a form hidden input value. To turn it back into an array: $array = unserialize(base64_decode($portable_array)); -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] PHP and directory permissions

2003-08-22 Thread Lowell Allen
to create files? Comments on the best approach for security and reliability would be appreciated. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems send MIME multipart/alternative mail with php

2003-08-20 Thread Lowell Allen
, $multiheaders)) { // some stuff for error checking } Hopefully you can decipher my example. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File ordering

2003-08-14 Thread Lowell Allen
= substr($file,0,-3).txt; $textFiles[] = $textFileName; } } Just sort the $imgFiles array. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail From option in PHP.ini

2003-07-20 Thread Lowell Allen
the return-path header, and if so, what's the syntax? TIA, -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multi file multi colomn

2003-07-16 Thread Lowell Allen
]; } If you need the data separated with semicolons, add them when concatenating. HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A php-mysql checkbox question

2003-07-05 Thread Lowell Allen
statement: $sql = SELECT features.fName, features.rec_id FROM features, com_features WHERE features.rec_id = com_features.feature_id AND com_features.com_features_id = '2'; HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem receiving notification emails to mails sentwith php

2003-06-21 Thread Lowell Allen
is not the same as the From you're setting.) If you're using a commercial host (shared hosting), then the Return-Path is probably something like [EMAIL PROTECTED] My host provides Horde for web-based email, and bounces go to the master user account. HTH -- Lowell Allen -- PHP General Mailing List (http

Re: [PHP] Spellchecking using PHP on WinXP?

2003-06-19 Thread Lowell Allen
spell checker if you've got Tomcat on Apache and you're OK with *absolutely no support* installing. http://www.jspell.com/ -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSS help

2003-06-18 Thread Lowell Allen
{ color: #fff; text-decoration: none } -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Formatting issue.

2003-06-16 Thread Lowell Allen
); } } elseif ($i%3 == 1) { echo(td$image/td); if ($i+1 == $img_count) { echo(/tr\n); } } elseif ($i%3 == 2) { echo(td$image/td/tr\n); } $i++; } Hope this helps. -- Lowell Allen -- PHP General Mailing List (http://www.php.net

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Lowell Allen
but still no joy. MSSQL doesn't use slashes for escaping. You probably need to use a single quote character instead of a slash. See user notes in the PHP manual, http://www.php.net/manual/en/function.addslashes.php, which will direct you to other info on changing the escape character used. -- Lowell

Re: [PHP] Redirect

2003-04-03 Thread Lowell Allen
. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mailing forms and input into MySQL

2003-04-02 Thread Lowell Allen
like so: if ([EMAIL PROTECTED]($send_to_name$sendto, $subject, $message, $headers)) { // report failure to send confirming email } else { // thanks for submitting } HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cookies with internet explorer on macs

2003-03-31 Thread Lowell Allen
minutes. He uses OS X/Internet Explorer/Entourage. He determined that whenever he checks his email with Entourage, his session cookie is no longer recognized. He got Microsoft support to duplicate and acknowledge the problem. I use Mac OS 9/Internet Explorer/Outlook Express -- no problem. -- Lowell

Re: [PHP] Addslashes problem (MSSQL)

2003-03-20 Thread Lowell Allen
MS-SQL doesn't escape with slashes. It escapes single quotes with single quotes. -- Lowell Allen From: Poon, Kelvin (Infomart) [EMAIL PROTECTED] Date: Thu, 20 Mar 2003 10:58:02 -0500 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [PHP] Addslashes problem (MSSQL) Hi, I have

Re: [PHP] Addslashes problem (MSSQL)

2003-03-20 Thread Lowell Allen
Read the user-contributed notes following the online manual info on addslashes: http://www.php.net/manual/en/function.addslashes.php -- Lowell Allen From: Poon, Kelvin (Infomart) [EMAIL PROTECTED] Date: Thu, 20 Mar 2003 11:20:51 -0500 To: 'Lowell Allen' [EMAIL PROTECTED] Cc: '[EMAIL

Re: [PHP] PHP and IIS 5.0

2003-03-19 Thread Lowell Allen
The error reporting level setting is set higher on the Windows box than on your Linux box. See info in the manual about changing, or define all those variables. HTH -- Lowell Allen From: Beauford.2002 [EMAIL PROTECTED] Date: Wed, 19 Mar 2003 11:11:42 -0500 To: PHP General [EMAIL PROTECTED

Re: [PHP] sessions terminating randomly please help

2003-03-10 Thread Lowell Allen
in (Mac OSX IE). He got Microsoft tech support to duplicate the behavior and confirm it's a problem with IE -- doesn't happen with Mozilla. So, it's important to verify the problem with more than one system, but it sounds like you have since you mention both IE6 and IE Mac! -- Lowell Allen -- PHP

Re: [PHP] What solution to use for mass newsletter mailing reporting?

2003-03-06 Thread Lowell Allen
email goes to that user email account. Someone at the client company monitors that address, verifies the bounce, and manually removes the address from the list. Good luck with your project! -- Lowell Allen From: J J [EMAIL PROTECTED] Date: Wed, 5 Mar 2003 16:34:44 -0800 (PST) To: PHP [EMAIL

Re: [PHP] Re: Checking for empty values sent from a form

2003-03-06 Thread Lowell Allen
this is from the Welling and Thomson book -- PHP and MySQL Web Development.) -- Lowell Allen From: shaun [EMAIL PROTECTED] Date: Thu, 6 Mar 2003 13:45:52 - To: [EMAIL PROTECTED] Subject: [PHP] Re: Checking for empty values sent from a form thanks for your reply but I was wondering

Re: [PHP] mortgage calculator

2003-03-05 Thread Lowell Allen
why can't I remember... I would just prefer not reinventing the wheel. Suggestions would be greatly appreciated. There's a free PHP mortgage calculator at http://www.dreamcost.com/, which I easily adapted for use on http://www.williamsauction.com/. HTH -- Lowell Allen -- PHP General

Re: [PHP] What solution to use for mass newsletter mailing reporting?

2003-03-05 Thread Lowell Allen
, of course, but it took too long to describe the general approach -- whew! Anyway, for anyone struggling with this sort of thing, building a queuing system like this seems to work well, and I'm sure it would be safe to greatly increase the speed above 50/5 minutes. HTH -- Lowell Allen -- PHP

Re: [PHP] date problem

2003-02-27 Thread Lowell Allen
a lot, but I didn't find how to do this. I'll be very happy if someone helps! list($year, $month, $day) = explode(-, $newdate); -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about replacing \r\n with br

2003-02-22 Thread Lowell Allen
= ereg_replace(\n, br\n, $text); $text = ereg_replace(/pp, /p\np, $text); HTH -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session expiration

2003-02-21 Thread Lowell Allen
, session.use_cookies setting is On, session.use_trans_sid setting is 1, and other configurations as mentioned above. Why are sessions expiring? Comments and directions to more information are appreciated. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: session expiration

2003-02-21 Thread Lowell Allen
./p); } else { ? h3Problem: You are not logged in./h3 pa href=login.phpLogin/a/p /body /html ? exit; } } That's it. -- Lowell Allen Lowell Allen [EMAIL PROTECTED] schreef in bericht [EMAIL PROTECTED]">news:[EMAIL P

Re: [PHP] session expiration

2003-02-21 Thread Lowell Allen
authorized to access it, so I don't see the number of session files as a problem. Thanks for the info. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mac os 9 - file upload problems

2003-02-11 Thread Lowell Allen
with file uploads using IE 5.1, Mac OS 9.2. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Lowell Allen
. But for some files, the values of $id do not behave as expected. Say the value should be 23. If I echo, it prints as 23. But comparisons fail to match: if( $id == 23 ) ... Try using trim() on the value to get rid of blank spaces, returns, and other weirdness. -- Lowell Allen -- PHP

[PHP] returning results of cURL POST

2003-02-08 Thread Lowell Allen
doesn't display anything and should only echo as shown above. I don't get how to return success or failure from the receiving script. The information I've been able to find on cURL doesn't clarify this. Can anyone shed some light? Thanks. -- Lowell Allen -- PHP General Mailing List (http

Re: [PHP] returning results of cURL POST

2003-02-08 Thread Lowell Allen
From: Lowell Allen [EMAIL PROTECTED] [snip] // check cURL results if ((trim($curl_results) != 1) || (trim($curl_results) != 0)) { // maybe nothing returned, bail out echo(pCan't confirm results of attempt to add to database!/p\n); exit; } I knew I'd find a stupid mistake as soon as I

Re: [PHP] tracking bulk email

2003-02-04 Thread Lowell Allen
From: Kevin Stone [EMAIL PROTECTED] - Original Message - From: Lowell Allen [EMAIL PROTECTED] I've added an email feature to a content management system that will send plain text email to about 1400 contact addresses. Each contact is sent a separate email with the contact name

Re: [PHP] tracking bulk email

2003-02-04 Thread Lowell Allen
store in MySQL instead, since speed really wouldn't be much of a factor for a process without user involvement, and for me it would be easier to manage. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] tracking bulk email

2003-02-04 Thread Lowell Allen
From: Matt Schroebel [EMAIL PROTECTED] -Original Message- From: Lowell Allen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 12:38 PM To: PHP Subject: [PHP] tracking bulk email (1) My client is nervous about the script failing mid-list and not being able to determine

  1   2   >