php-general Digest 18 Sep 2007 15:34:35 - Issue 5025
Topics (messages 262191 through 262202):
dir_object-read() on different platform
262191 by: news.php.net
262192 by: Jim Lucas
262193 by: Jim Lucas
262194 by: Jim Lucas
Re: Try to find a solution, when
Daevid, understood... but in my case the php script is called once one
time, and then keep's on running forever on a server background shell...
The user never will have to worry about the process again, but if the
process is not running on the server a message will apear on the
interface or a
dear friends :),
i have problem with dynamic image displaying
here the snippets
thumb.php
?php
header(Content-type: image/jpg);
$file = data/original/filename.jpg;
readfile($file);
?
img.php
img src=thumb.php?filename.jpg /
problem is i always get broken images, someone know how to fix this
Just use stripslashes() on your submitted data and forget about testing for
magic_quotes. It's good practice anyhow. \ is not legit text regardless.
haim Chaikin wrote:
Hello,
I am a beginner in PHP. I need help with the function preg_replace.
I am trying to remove the backslashes (
The general rule is to create or maintain every page on your server of what you
what the client to see. Then send it for every submit. That way you don't have
to worry about satisfying every browser and configuration there is.
Πρεκατές Αλέξανδρος wrote:
I'a writing first time so sorry if i
Hello, Anugrah.
On 9/18/07, Anugrah Widya [EMAIL PROTECTED] wrote:
i have problem with dynamic image displaying
here the snippets
thumb.php
?php
header(Content-type: image/jpg);
$file = data/original/filename.jpg;
readfile($file);
?
img.php
img src=thumb.php?filename.jpg /
In news: [EMAIL PROTECTED]
- Greg Donald wrote :
On Sat, 15 Sep 2007, Joker7 wrote:
I'm using the code below to display news articles-which works great
apart from. I can control the number of articles,but I would like
to add a link to the bottom of the page to the un-displayed
articles (
In news: [EMAIL PROTECTED] - Thomas Bachmann wrote :
Why don't post an example of your news file too?
Joker7 schrieb:
Hi,
I'm using the code below to display news articles-which works great
apart from. I can control the number of articles,but I would like
to add a link to the bottom of the
Christoph Boget wrote:
I looked in the docs but didn't see anything regarding case
insensitivity and I fear the functionality doesn't exist. I'm just
hoping I'm looking in the wrong place.
Is there a way to get ksort to work without regard to case? When I
sort an array using ksort, all the
thumb.php
?php
header(Content-type: image/jpg);
$file = data/original/filename.jpg;
readfile($file);
?
Change
header(Content-type: image/jpg);
to
header(Content-type: image/jpeg);
Apparently IE doesn't like image/jpg [1].
[1] http://pear.php.net/bugs/bug.php?id=4586
Edward
I looked in the docs but didn't see anything regarding case
insensitivity and I fear the functionality doesn't exist. I'm just
hoping I'm looking in the wrong place.
Is there a way to get ksort to work without regard to case? When I
sort an array using ksort, all the upper case keys end up at
On 18/09/2007, Christoph Boget [EMAIL PROTECTED] wrote:
I looked in the docs but didn't see anything regarding case
insensitivity and I fear the functionality doesn't exist. I'm just
hoping I'm looking in the wrong place.
Is there a way to get ksort to work without regard to case? When I
Anugrah Widya wrote:
dear friends :),
i have problem with dynamic image displaying
here the snippets
thumb.php
?php
header(Content-type: image/jpg);
$file = data/original/filename.jpg;
readfile($file);
?
img.php
img src=thumb.php?filename.jpg /
problem is i always get broken images, someone
Daniel Brown wrote:
Hello, Anugrah.
On 9/18/07, Anugrah Widya [EMAIL PROTECTED] wrote:
i have problem with dynamic image displaying
here the snippets
thumb.php
?php
header(Content-type: image/jpg);
$file = data/original/filename.jpg;
readfile($file);
?
img.php
img
I don't have time to look up in the manual but I don't remember a case
insensitive ksort().
I think there's a uksort() where you could specify your own sorting
parameters for the keys.
Also, you could create the array with keys run through strtoupper() or
strtolower(). If you need the
I've been doing a bunch of reading about objects and overloading in
PHP5, but I've got a couple of questions that I can't seem to find the
answer to online. Suppose the following code in PHP5.2.4:
?php
class foo {
public $x;
private $z = 'z';
public function __set
Steve Brown wrote:
I've been doing a bunch of reading about objects and overloading in
PHP5, but I've got a couple of questions that I can't seem to find the
answer to online. Suppose the following code in PHP5.2.4:
?php
class foo {
public $x;
private $z = 'z';
1) It seems that the getter and setter are not called on every single
call. For example, if I do the following:
$bar = new foo;
$bar-x = 'x';
There is no output. I would expect to see Setting $this-x to x.
Another example:
$bar = new foo;
$bar-y = 'y';
echo $bar-y;
I would expect
My company has the following job openings available:
Join in the Adventure.
Yakabod, a web software and services company, is located in a beautifully
restored facility in Frederick, Maryland's historic district. We've
experienced steady growth since starting in 2001. We've set our hearts on
I did it. Still I am not able to access it.
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
http://webdirectory.sanchanworld.com - Submit your website URL
http://webhosting.sanchanworld.com - Choose your best web hosting plan
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Hey Stut, Thanks..
Now its working fine. Now I am able to access the value. Actually problem
was in main domain the cookies path was wrong. It was showing /user/ . I set
it to /
Thanks Stut.
Warm Regards,
Sanjeev
http://www.sanchanworld.com/
http://webdirectory.sanchanworld.com - Submit your
Sanjeev N wrote:
I did it. Still I am not able to access it.
You'll probably need to delete the existing cookie from your browser and
get it set again.
-Stut
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 19, 2007 12:41 AM
To: Sanjeev N
Cc:
Hi,
Assume, I have www.domain.com http://www.domain.com/ in which I wrote the
functionality for user authentication and his profile related functionality.
Now, when user logs in using http://www.domain.com/users/login.php then
after his successful login a session as well as a cookie is
Sanjeev N wrote:
Assume, I have www.domain.com http://www.domain.com/ in which I wrote the
functionality for user authentication and his profile related functionality.
Now, when user logs in using http://www.domain.com/users/login.php then
after his successful login a session as well as a
I have extracted a small portion of a calendar application I developed
recently to show some strange behavior with the date() function. When I
run this I get duplicate dates occasionally down the list. I'm seeing
11/4 twice for example. Sometimes dates are missing from the list. The
results
I'm seeing
11/4 twice for example. Sometimes dates are missing from the list. The
results change from day to day.
That would be DST. The number of seconds per day changes on Nov. 4,
2007 in the US local time zones.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On 9/17/07, Rodolfo De Nadai [EMAIL PROTECTED] wrote:
Hi all...
I'm facing a serious problem with my application. I have a script write
in PHP that starts in Internet Explorer, this script keep on running
until a varible value change on my MySQL database.
The problem is that when i restart
Apologies if you already received this message, I tried to send it
earlier from my webmail but it doesn't seem to have worked.
Al wrote:
Just use stripslashes() on your submitted data and forget about
testing for magic_quotes. It's good practice anyhow. \ is not legit
text regardless.
On Tue, 2007-09-18 at 15:32 -0500, Greg Donald wrote:
I have extracted a small portion of a calendar application I developed
recently to show some strange behavior with the date() function. When I
run this I get duplicate dates occasionally down the list. I'm seeing
11/4 twice for example.
Hello,
I have installed the latest PHP on my windows server 2003 IIS6 machine. From
the DOS command line interface (when in the C:\PHP directory) if I type PHP
phpinfo.php, the file runs. However I cannot get it to work on the browser
on the server our out on the web using my URL. I'm sure
I have a little trouble while trying to connect to gmail server.
I already enabled POP on gmail.
After experience a lots of errors with the command below, now I'm
seeing no more errors, but it still doesn't working, the page stay
processing and just is broke after this command.
$mbox =
Have you created the .php file type in the IIS and pointed IIS to the php.exe?
Bastien Date: Tue, 18 Sep 2007 22:39:07 -0400 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] setup help in IIS6 Hello, I
have installed the latest PHP on my windows server 2003 IIS6 machine.
Fábio Generoso wrote:
I have a little trouble while trying to connect to gmail server.
I already enabled POP on gmail.
After experience a lots of errors with the command below, now I'm
seeing no more errors, but it still doesn't working, the page stay
processing and just is broke after this
33 matches
Mail list logo