The code is a pretty bad hack (why use the echo statement once when you can
use it 207 times).
www:/srv/www/htdocs/admin # grep -ic "echo" calendar/calendar.html
207
Any knowledge of this would be greatly appreciated.
Thank you,
--
Paul Nowosielski
Webmaster
--
PHP General Mailing
Dear all,
I'm having an issue where sessions timeout after inactivity.
I have session.cache_expire set to 1440.
But some users have reported sessions timing out after a couple hours.
Is there another php.ini setting I need to address??
Thank you,
--
Paul Nowosielski
Webmaster
--
That was the issue ,
thanks!
On Thursday 15 March 2007 11:56, Erik Jones wrote:
> Are you including a mime-type header in your mail calls?
>
> On Mar 15, 2007, at 1:45 PM, Robert Cummings wrote:
> > On Thu, 2007-03-15 at 12:24 -0700, Paul Nowosielski wrote:
> >> Dear
Dear All,
I've just upgraded our systems to apache2 and php5 and all our emails are
showing up as text now and not html.
Any ideas??
Thank you,
--
Paul Nowosielski
Webmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear All,
I'm trying to create a dynamically generated rotating gif.
I want to add layers of text from a database to the image.
Is this possible? If so , can someone give me some pointers or a link to a good
class or tutorial please?
Thank you,
--
Paul Nowosielski
Webmaster
--
PHP Ge
It works, thank you!
On Monday 24 July 2006 16:21, Paul Nowosielski wrote:
> I understand I need to do a string replace.
>
> Should I do it like so?
>
> $search = array(chr(145),chr(146),chr(147),chr(148),chr(150),chr(151));
> $replace = array("'","'&q
I understand I need to do a string replace.
Should I do it like so?
$search = array(chr(145),chr(146),chr(147),chr(148),chr(150),chr(151));
$replace = array("'","'",'"','"','-','-');
Is this what you mean?
Thank
ote. I have these from some of the data dumps.
I can't figure out what exactly to strip.
When I view the file in vi they appear like <92> <93> <94> (highlighted in
blue like controll characters.
Can someone point me in the right direction to purge this from my feed?
Thank y
"\xe2\x80\x9c", // left double quote
"\xe2\x80\x9d", // right double quote
"\xe2\x80\x94", // em dash
"\xe2\x80\xa6" // elipses
);
$fixedwordchars=array(
You could make a symbolic link from /tmp/ to whereever the real socket is.
Then you won't have to change your other configurations.
Thank you,
--
Paul Nowosielski
On Thursday 13 July 2006 22:53, Dave M G wrote:
> PHP List,
>
> I am trying out Zend Studio for editing and de
ED]";
$subject = "My Subject";
$body = $html;
$to = $recip;
$headers = 'From:[EMAIL PROTECTED] ' . "\r\n" .
'Reply-To:[EMAIL PROTECTED] ' . "\r\n" .'Content-type: text/html;' .
"\r\n" . '
CURL to check server response.
Does any one know of a function or class that already does this? Your thoughts
would be greatly appreciated.
TIA!
--
Paul Nowosielski
Webmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good advice , Thank you!
--
Paul Nowosielski
Webmaster
On Friday 30 June 2006 15:45, Adam Zey wrote:
> Paul Nowosielski wrote:
> > On Friday 30 June 2006 14:37, Brian Dunning wrote:
> >> I have a table where I want to update each record with today's date
> >> a
uery() returns a
resource on success, or FALSE on error.
For other type of SQL statements, UPDATE, DELETE, DROP, etc, mysql_query()
returns TRUE on success or FALSE on error.
So if($result == 0){
do something;
}
--
Paul Nowosielski
Webmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 06 June 2006 12:26, tedd wrote:
> At 11:55 AM -0600 6/6/06, Paul Nowosielski wrote:
> >Dear All,
> >
> >I'm having a very frustrating issue w/ Apples Safari web browser.
> >The browser will stall when I try and initiate a sessions on login .
> &g
7;Pragma: no-cache');
to the header and still no luck.
I've found many similar incidents on the WWW with no real solutions.
Has anyone had similar issues and found a workaround for this problem?
I believe this is a Safari issue and not a PHP problem. But I'm hoping
someone
ions and frankly I'm dumbfounded as
to why my phpinfo() is still not even listing sessions as a modules??!
Any suggestions would be greatly appreciated.
TIA!
--
Paul Nowosielski
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ate|$country|$tdId\n";
// validate the string
if(preg_match("/.*.|||.*.||.*.|.*.|.*.|.*.|.*.n\//", $line)){
// record is correct so write line to file
fwrite($handle,$line);
}
}
So ^M slips right by trim and my preg_match line.
Any ideas??
TIA
--
Paul Nowosielsk
be appreciated.
TIA!
--
Paul Nowosielski
Webmaster CelebrityAccess.com
303.440.0666 ext:219
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I'm trying to strip single quotes using preg_replace() with no luck.
Can someone give me some advice on achieving this?
TIA!
--
Paul Nowosielski
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
If a have a string thats 11 characters long how can I strip off the last
two characters?
TIA!
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
iage
returns. I tried using trim() and rtrim() with no luck. The data is
still formatted exactly like it was inputed.
Any ideas why this is happening and how I can format the text properly??
TIA!
--
Paul Nowosielski
Webmaster CelebrityAccess.com
303.440.0666 ext:219
--
PHP General Mai
t;UID $row[user_id]";
echo "AUID $uidToAdmin[0]";
}
So how can I continue adding to this array in the while loop?
TIA
--
Paul Nowosielski
Webmaster CelebrityAccess.com
303.440.0666 ext:219
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Can some lend advice regarding date functions using mysql and php
please?
I have a table set up like so
(DESCRIBE nuke.position)
hiddenid int(5) PRI NULL auto_increment
id varchar(40)
contact_email varchar(64)
title varchar(60)
salary mediumtext
disc
Can any point me to a nice GNU php validation library?
Looking for something thats strips bad user input and validates email,
tel etc etc...
Paul Nowosielski
--
"What good are computers? They can only give you answers." ~ Pablo
Picasso
--
PHP General Mailing List (http://www.ph
PHP might take you tomorrow.
>
>
> -----Original Message-
> From: Paul Nowosielski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2003 8:45 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] ereg_replace and quotation marks
>
>
> I'm trying to strip quotat
I'm trying to strip quotation marks out of user from input but it
doesn't seem to work correctly.
$string=ereg_replace("\"","",$string);
I get a \ mark after I run a quote through the form. When I want the
quote turned to nothing.
Any suggestions??
Paul
--
PHP General Mailing List (http:/
27 matches
Mail list logo