;] to map the
"friendly" URL to content by including files or redirecting with
header().
Is that what you mean?
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
urceforge.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
W2K, IE
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://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or_user_agent, "opera"))
{
$browser = 'opera';
$dom_browser = true;
}
[snip]
Any 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&q
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: h
s and return an error message if any 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 a
xt files and binary files, 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 w
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 t
H" in the February PHP
Architect. That's what prompted me 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
H" in the February PHP
Architect. That's what prompted me 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
H" in the February PHP
Architect. That's what prompted me 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
to install 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.
--
Lowe
does work. I'm trying to avoid writing a file to the local
server just to be able to use ftp_fput().
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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:
[sn
e I
use it successfully for a couple scripts. The "upload" directory has
permissions set to 777. The server I'm attempting 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
stuck with 4.0.6 for this
project. I'd appreciate any suggestions on what I should check/advice
on using $HTTP_SESSION_VARS.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this isn't a PHP problem, but can anyone point me towards a
solution? 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
.
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
e'];
$uploaddesc = $_POST['desc'];
[snip]
You might try using "$HTTP_POST_FILES" rather than "$_FILES" -- 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
. Opinions? 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
value that is inserted into the database is
> Array, as opposed to the actual filename.
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
form1">
>
>value="">
>disabled>
>
>
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
> 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 G
> --- 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: ...');
>
>
&
wnload does not start automatically". I couldn't figure out how 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 di
> 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/
gt; request amazon.com) Note this is different 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 Al
she logs
out. The problem is that users often don't log out, and sometimes leave
directly from an edit screen. I 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 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
on that
> doesn't require any compiling or libraries exists
Just FYI -- 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.
--
Lowe
un a PHP
script, 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
> 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 curre
ss to much knowledge of regular expressions. Check the
MySQL documentation. I saw something about REGEXP 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
ven took out the space which was in category.
>
> 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
b
$request = substr($REQUEST_URI, 1);
$results = mysql_query("SELECT DisplayStatus FROM Pages WHERE
MenuPath='$request' AND DisplayStatus='Y'");
if (!$results) {
$db_error = mysql_error();
include("error_page.php");
exit();
}
if (mysql_num_rows($
if you're using MySQL version 3.23.2 or later, and
you only want to return one random result you can use:
$query = "SELECT * FROM table WHERE id<10 ORDER BY RAND() LIMIT 1";
I don't know if that works without the LIMIT clause; give it a try.
HTH
--
Lowell Allen
--
P
quotes_gpc() ? htmlentities($_POST[$cp]) :
htmlentities(addslashes($_POST[$cp]));
$insert_sql = "INSERT INTO Images SET PagePath='$PagePath',
FileID='$userfile_name', " .
"Caption='$Caption', Sequence='$_POST[$sq]', LastMod=NOW(),
UploadedBy='$valid_user'";
if (@!mysql_query($insert_sql)) {
echo("Error adding image information to database: " .
mysql_error() . "\n\n");
exit();
}
echo("" . $userfile_name . " uploaded sucessfully and image
information saved.\n");
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> 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 "$H
tions are greatly appreciated...
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.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reatly appreciated.
$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
-- <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 Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if ($menu3[1] == $menu[0]) {
if ($menu3[0] == $id || $menu3[0] == $pid) {
echo("" .
$menu3[2] . "");
} else {
echo("" . $menu3[2
ly an
inelegant solution, but it's better than losing the form data.
In my situation, I've 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
pos
order, you can give it a different 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
uld be appreciated.
Try listing the - as the first 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
and
> eval("\$psArray = array($ps2);"); - This one gives me a parse error
> (Parse error: parse error, unexpected T_STRING, expecting ')' in
> /var/www/html/ps.php(25) : eval()'d code on line 1)
>
> When I have used the same eval in another page I get eac
for non-HTML use (like for
plain text email), or if I actually *WANT* to use stored HTML code (like for
HTML-formatted email)
TIA
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2[2] . "\n\n");
} else {
echo("" . $sublink2[2] .
"\n\n");
}
}
}
}
} elseif ($pid == "0") {
// only display children of current page
// build submenu of child pages of curren
F)) {
$color = "red";
} elseif (eregi("contact", $PHP_SELF)) {
$color = "yellow";
} else {
$color = "";
}
HTH
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n example snippet
>
[snip]
>
> What I want 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
sses and sends the message. By controlling 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.
--
code($_GET["whatever"]));
HTH
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
starts like this:
require_once($req_fns);
session_save_path(prepath($PHP_SELF) . "../ccb_sessions");
session_start();
Note that when I said my session data directory is on the same level as my
publicly viewable files (public_html), I mean that the session directory is
not contained wi
ectory for saving session data. Create a directory (on the same
level as your directory of publicly-viewable 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 ca
troy() were never called for those sessions. Why aren't those
>> sessions still listed in the sessions directory?
> session_start() runs garbage collector in current session save path
> directory. The plus is you are not affected by other virtual hosts on
> the same server.
So
aren't those
sessions still listed in the sessions directory?
Thanks for any insights.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ray:
$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
> 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.ne
at link (script) writes info to the
database, flagging an update request. Every 5 minutes, a crontab calls the
PHP CGI 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
and he said Microsoft confirmed
the problem. However -- 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
> 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 u
ill
be acceptable.
This is my 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 Ma
eference my PHP 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
= 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/unsub.php
> * 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,
nux/Apache 1.3.28
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
liams? Would it be better to
rewrite my script so that it doesn't need 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
e a plain text message and an HTML-formatted message and write
everything to a MySQL database. A separate script that's called by a crontab
actually sends the email. (That let's me control frequency and volume.)
After pulling from the database, I build the multipart message fr
tdh = opendir($txtdir);
>
> while($file = readdir($imgdh)) {
> if(substr($file,-3)=="jpg") {
> $imgFiles[] = $file;
> $textFileName = 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
e problem is that I
have no idea what the syntax of the command line parameter is (what the "-f"
does).
Can anyone advise? Is it possible to use this fifth parameter to set 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
cords; $x++) {
$merged_files = $records1[$x] . $records2[$x] . (etc) . $records40[$x];
}
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
;2\" AND features.TheTest=\"1\"";
>
> What I get in the return is:
>
> X Window
> pool
> fence
> drive
>
> Window
> pool
> X fence
> drive
>
> Window
> pool
> fence
> X drive
I'm not sure how you're formatting
o tried using \r\n instead of \n
Send yourself an email using PHP and examine the Return-Path listed in the
source code. (The Return-Path 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
ution, but I can recommend the Java-based JSpell 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
coration: none }
a:visited { color: #036; text-decoration: none }
a:hover{ color: #fff; text-decoration: none; background-color: #339 }
a:active{ color: #fff; text-decoration: none }
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
== 0) {
echo("$image");
if ($i+1 == $img_count) {
echo("\n");
}
} elseif ($i%3 == 1) {
echo("$image");
if ($i+1 == $img_count) {
echo("\n");
}
} elseif ($i%3 == 2) {
echo("$image\n");
}
$i++;
}
Hope this helps.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
documentation at
<http://www.php.net/manual/en/function.header.php>.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/function.addslashes.php>, which will direct
you to other info on changing the escape character used.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1\n";
if ($address2 != "") {
$message .= "Address: $address2\n";
}
etc.
Then send it and report failure or success to the user like so:
if ([EMAIL PROTECTED]("$send_to_name<$sendto>", $subject, $message, $headers)) {
// report failure to send confir
the problem. I use Mac OS 9/Internet Explorer/Outlook Express --
no problem.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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: 'Lo
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]
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
>
s logged 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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(I think 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
>
and bounced/undeliverable 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 Ma
e 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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
down. Some things seem so obvious that you just don't think you
> need to bookmark! So 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.drea
es:
> $day=17
> $month=2
> $year=2003
> I searched 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
.
>
> And nl2br doesn't work either.
>
> Can anyone help?
Here's what I use to make two returns a paragraph return and one return a
baseline return:
$text = ereg_replace("\r", "", $text);
$text = ereg_replace("\n\n", "", $text);
$text = ereg_replace("\n", "\n", $text);
$text = ereg_replace("", "\n", $text);
HTH
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> You can also define your own session handler to do what you want.
>
> Why not just use a cookie to "remember me" though, instead of keeping the
> sessions persistant? You're going to end up with a file on your computer for
> _every_ person that visits the site and the file w
if (session_is_registered("user")) {
echo("Logged in as $user.");
} else {
?>
Problem: You are not logged in.
Login
"Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht
> [EMAIL PROTECTED]">
x, PHP 4.1.2, session.cookie_lifetime setting is 0,
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 Mailin
ve the issue.
I have no problems 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
using trim() on the value to get rid of blank spaces, returns, and other
weirdness.
--
Lowell Allen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: Lowell Allen <[EMAIL PROTECTED]>
>
[snip]
>
> // check cURL results
> if ((trim($curl_results) != 1) || (trim($curl_results) != 0)) {
> // maybe nothing returned, bail out
> echo("Can't confirm results of attempt to add to database!\n");
> e
{
echo 1;
}
The receiving script 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?
Tha
> 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
attempts generated while
looping through the email list (thanks, Kevin). But if I do a version with a
cron tab I'll 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
> 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
1 - 100 of 135 matches
Mail list logo