php-general Digest 23 Oct 2006 05:59:59 - Issue 4416
Topics (messages 243434 through 243443):
Re: Screen Shots
243434 by: Stut
243435 by: Mukul Sabharwal
243436 by: Fred Moses
243437 by: Fred Moses
243438 by: Dotan Cohen
243439 by: Fred Moses
Hello all!
Sorry for the offtopic.
Please, when you reply to PHP mailing lists, put the Re: element right
in front of the subject:
Re: [PHP] Screen shots
not
[PHP] Re: Screen shots
When there are two different styles used simultaneously it's merely
impossible to sort messages in chains. At least
theIggs wrote:
Hello all!
Sorry for the offtopic.
Please, when you reply to PHP mailing lists, put the Re: element right
in front of the subject:
Re: [PHP] Screen shots
not
[PHP] Re: Screen shots
When there are two different styles used simultaneously it's merely
impossible to sort messages in
Anton Statutov wrote:
DOCUMENTATION php://input is not available with
enctype=multipart/form-data.
What I should do if I really need to get multipart data? I want to
implement my own form-data parser with PHP5. Can I at least turn off the
PHP's one to be able to use php://input with
Greg Maruszeczka wrote:
On Sat, 21 Oct 2006 19:55:17 -0400
Fred Moses [EMAIL PROTECTED] wrote:
Is there a function which returns the IP address of the requestor of the
current page?
--
Don't think so but there is a superglobal that contains it:
$_SERVER['REMOTE_ADDR']
.. which can be
Chris wrote:
While it's annoying I think it's going to be one of those things you
have to live with.
Or switch email apps. Thunderbird is pretty good about threading list
emails.
Can you configure your email app to read something other than the
Subject for threading?
--
Wishlist:
On 23/10/06, Ed Lazor [EMAIL PROTECTED] wrote:
On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote:
Convert to pdf.
Are you logging the stats? That would allow you to graph the usage
whenever you want.
-Ed
Has anybody read the original post? The OP wants a screenshot of his
users' desktops. He
Hello all!
MH Chris wrote:
While it's annoying I think it's going to be one of those things you
have to live with.
MH Or switch email apps. Thunderbird is pretty good about threading list
MH emails.
MH Can you configure your email app to read something other than the
MH Subject for
On 23/10/06, David Tulloh [EMAIL PROTECTED] wrote:
Breaking this down you have a hardcoded password.
In the script you store a hash of the password rather than the actual
password.
Yes, no choice but to have the password in the file. I can't include()
anything, and no mysql. So, only hashed
On Fri, 20 Oct 2006 12:06:26 -0400, Robert Cummings wrote:
On Fri, 2006-10-20 at 17:22 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari wrote:
I have PHP/PostgreSQL application were i got a search page with some items
to search, am building the search
On Sat, 21 Oct 2006 18:16:19 +0200, Dotan Cohen wrote:
On 21/10/06, Dotan Cohen [EMAIL PROTECTED] wrote:
I'm in the horrible situation where I need a one-page script to hold
it's own password and validate itself. I coded this together, I want
this lists opinion as to whether or not it holds
On Sat, 21 Oct 2006 14:41:11 +1000, chris smith wrote:
On 10/21/06, Jochem Maas [EMAIL PROTECTED] wrote:
chris smith wrote:
On 10/21/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED] wrote:
On Fri, 20 Oct 2006 23:24:14 +1000, chris smith wrote:
On 10/20/06, Ivo F.A.C. Fokkema [EMAIL PROTECTED]
Breaking this down you have a hardcoded password.
In the script you store a hash of the password rather than the actual
password.
Upon first access you take a hash of the password and compare it against
your stored hash. If it's a match you have an authentic user.
The authentic user is then
On Mon, 2006-10-23 at 10:13 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 12:06:26 -0400, Robert Cummings wrote:
On Fri, 2006-10-20 at 17:22 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari wrote:
I have PHP/PostgreSQL application were i got a
Hello, I am trying to find out the country and possibly the city where the
visitors to my site are coming from. I can capture the IP address but how
do I translate that to a specific locale. Is there a way to do it or do I
have to ask them and map the info myself. Thank you for you help.
Robert Cummings wrote:
On Mon, 2006-10-23 at 10:13 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 12:06:26 -0400, Robert Cummings wrote:
On Fri, 2006-10-20 at 17:22 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari wrote:
I have PHP/PostgreSQL
John Messam wrote:
Hello, I am trying to find out the country and possibly the city where the
visitors to my site are coming from. I can capture the IP address but how
do I translate that to a specific locale. Is there a way to do it or do I
have to ask them and map the info myself. Thank
Dotan Cohen wrote:
...
Thanks for any and all input.
// here is a completely different way of doing it:
function setSimplePageProtectionDetails($login, $pwd, $makeSha1Hash = false)
{
if (!defined('SIMPLE_AUTH_PW') !defined('SIMPLE_AUTH_USER')) {
if (!$login || !$pwd) {
On Mon, 23 Oct 2006 04:33:52 -0400, Robert Cummings wrote:
On Mon, 2006-10-23 at 10:13 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 12:06:26 -0400, Robert Cummings wrote:
On Fri, 2006-10-20 at 17:22 +0200, Ivo F.A.C. Fokkema wrote:
On Fri, 20 Oct 2006 17:04:35 +0200, Fourat Zouari
Dotan Cohen wrote:
On 23/10/06, Ed Lazor [EMAIL PROTECTED] wrote:
On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote:
Convert to pdf.
Are you logging the stats? That would allow you to graph the usage
whenever you want.
-Ed
Has anybody read the original post? The OP wants a screenshot of
On Monday 23 October 2006 13:00, Jochem Maas wrote:
Dotan Cohen wrote:
On 23/10/06, Ed Lazor [EMAIL PROTECTED] wrote:
On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote:
Convert to pdf.
Are you logging the stats? That would allow you to graph the usage
whenever you want.
-Ed
Has
On Mon, 23 Oct 2006 19:00:08 +1000, Chris wrote:
John Messam wrote:
Hello, I am trying to find out the country and possibly the city where the
visitors to my site are coming from. I can capture the IP address but how
do I translate that to a specific locale. Is there a way to do it or do
Sancar Saran wrote:
Do you want take screen shot of webpage from server? Convert your web page
into pdf.
Do you want take screen shot of your online user count. Collect user data into
sql. generate web page from sql data and convert to pdf.
Do you want take screen shot of your online users
Greetings all,
I`ve searched Google and come up with a couple of links to PHP/MySQL
open source based hotel reservation systems, does anyone have any
advice/opinions on what you are using and how its worked for you.
I`m just checking at various options at this stage before embarking on
writing
Stut wrote:
Sancar Saran wrote:
Do you want take screen shot of webpage from server? Convert your web
page into pdf.
Do you want take screen shot of your online user count. Collect user
data into sql. generate web page from sql data and convert to pdf.
Do you want take screen shot of your
Edward, Roman, Jochem, Lowell, Kreme,
Thank you for your explanations.
Based on what was said here, I understand that the issue was setting up
my local computer's Apache server to treat my directory hierarchies as
they would behave on my hosting service.
With the help of my local Linux
At 3:35 AM -0500 10/23/06, John Messam wrote:
Hello, I am trying to find out the country and possibly the city where the
visitors to my site are coming from. I can capture the IP address but how
do I translate that to a specific locale. Is there a way to do it or do I
have to ask them and
At 12:00 PM +0200 10/23/06, Jochem Maas wrote:
Dotan Cohen wrote:
Has anybody read the original post? The OP wants a screenshot of his
users' desktops. He does not want stats.
the way I read it he's looking for something akin to a group photo.
given that his users could be anywhere on the
On 23/10/06, Jochem Maas [EMAIL PROTECTED] wrote:
Dotan Cohen wrote:
...
Thanks for any and all input.
// here is a completely different way of doing it:
function setSimplePageProtectionDetails($login, $pwd, $makeSha1Hash = false)
{
if (!defined('SIMPLE_AUTH_PW')
Is there any way that I can get a script to take a screen
shot every minute
of all the users using my php website?
This is not a PHP question, but here's an answer anyway:
With your users conscent, yes. There is a tiny utility that will take a
screenshot at set intervals using the
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same command (with
appropriate values) in the command line it creates the dump file. What
could be the reason for
write rights for apache/php user to the $backup_path?
also is apache/php user allowed to run mysqldump?
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same
Jim Moseby wrote:
Is there any way that I can get a script to take a screen
shot every minute
of all the users using my php website?
This is not a PHP question, but here's an answer anyway:
With your users conscent, yes. There is a tiny utility that will take a
screenshot at set
On 23/10/06, Jim Moseby [EMAIL PROTECTED] wrote:
Is there any way that I can get a script to take a screen
shot every minute
of all the users using my php website?
This is not a PHP question, but here's an answer anyway:
With your users conscent, yes. There is a tiny utility that will
Angelo Zanetti wrote:
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same command (with
appropriate values) in the command line it creates the dump file.
Hi:
I posted this on the web-design list, but didn't receive any leads.
I want to continue what I've been doing, which is to offer various
code solutions for people via my web site, but I would like to add a
feature where people can comment on the code. Such as if they found
it useful, or
Maybe you mean a bug tracker?
checkout
http://flyspray.rocks.cc/
on Monday 23 October 2006 17:12, tedd wrote:
Hi:
I posted this on the web-design list, but didn't receive any leads.
I want to continue what I've been doing, which is to offer various
code solutions for people via my web
John Messam wrote:
Hello, I am trying to find out the country and possibly the city where the
visitors to my site are coming from. I can capture the IP address but how
do I translate that to a specific locale. Is there a way to do it or do I
have to ask them and map the info myself. Thank
Think he's looking for something that'll manage comments.. not bugs. As he
says, so people can post comments (like in the online PHP docs where there are
user comments for differnent entries with their own code samples and notes).
-TG
= = = Original message = = =
Maybe you mean a bug
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same command (with
appropriate values) in the command line it creates the dump file. What
could be the
Edward Kay wrote:
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same command (with
appropriate values) in the command line it creates the dump file. What
could be
Edward Kay wrote:
Angelo Zanetti wrote:
hi all,
Im doing the following dump through PHP:
$output = shell_exec('mysqldump '. $db_database .' '.
$backup_path.$filename);
It doesnt seem to work but when I run the exact same command (with
appropriate values) in the command line it
Angelo, as Brad says, you can pass user and password args to mysqldump from
an include file.
I run a php backup script via cron every night, then tar and compress and
store in various dirs out of the web tree.
I have the script if you'd like. It came from someone on the php-db list
years ago,
Hi Tedd,
you may want to check out a Blog-Software like Wordpress if it fulfills your
requirements and relaunch your website using it. From what i see on your
page, it could pretty much replace the functionality and add the benefits of
comments, nice urls, etc
Greets
Rocco
--
New Identity AG
On Mon, 2006-10-23 at 11:12 -0400, tedd wrote:
Hi:
I posted this on the web-design list, but didn't receive any leads.
I want to continue what I've been doing, which is to offer various
code solutions for people via my web site, but I would like to add a
feature where people can comment
You're asking everyone else to change their email client when the
quickest solution would be for you to change yours.
On Oct 22, 2006, at 10:59 PM, theIggs wrote:
Hello all!
Sorry for the offtopic.
Please, when you reply to PHP mailing lists, put the Re: element right
in front of the
On Mon, 2006-10-23 at 18:16 +0200, Rocco Di Leo wrote:
Hi Tedd,
you may want to check out a Blog-Software like Wordpress if it fulfills your
requirements and relaunch your website using it. From what i see on your
page, it could pretty much replace the functionality and add the benefits of
On 23 Oct 2006, at 09:12 , tedd wrote:
Does anyone have any recommendations or can point me to a simple
content manager for such a purpose?
Do you need a content manager? Sounds like you want a blog like
setup where you post a entry (code) and people can comment.
Wordpress is nice.
Or
On 23/10/06, Jochem Maas [EMAIL PROTECTED] wrote:
it's a Pretty Damning Format ;-)
I'd always thought of it as the Potty-Diaper Format. I stand corrected.
Dotan Cohen
http://faq-google.com
http://what-is-what.com/what_is/spam.html
--
PHP General Mailing List (http://www.php.net/)
To
A big new update for Sparse, the HTML-based framework for writing
MySQL-backed CGI applications easily and quickly. Now, the generated
forms output in fully degradable Ajax, meaning that if a user doesn't
have Javascript available or if an error occurs, the regular
functionality will still
Does anyone know if any of the PHP Site-Search tools have implemented the
new #privacy search standard (http://www.poundprivacy.org). Looking to
install a new site-search and I would really like to install something that
is compliant...
On 23 Oct 2006, at 08:32 , Dotan Cohen wrote:
I give this information to spread awareness, not to spread
malicious code, FUD, exploits, or anything else.
On he other hand, IE related malicious code and exploits should be
distributed as widely as possible as it is the only way MSFT will fix
Has anyone checked this for security?
On Oct 23, 2006, at 11:26 AM, Daniel Orner wrote:
A big new update for Sparse, the HTML-based framework for writing
MySQL-backed CGI applications easily and quickly. Now, the
generated forms output in fully degradable Ajax, meaning that if a
user
Is it possible to FTP a folder and all it's content? I can do a file at a
time, but not a folder.
Also there is times when I will not know the folder name, so I would like it
to just upload everything it finds in the folder I set.
Is this possilbe?
Thanks
Rob Kritzer wrote:
Is it possible to FTP a folder and all it's content? I can do a file at a
time, but not a folder.
Also there is times when I will not know the folder name, so I would
like it
to just upload everything it finds in the folder I set.
Is this possilbe?
Yes[1][2].
-Stut
[1]
No, not yet. I admit to being something of a novice when it comes to
Ajax, and as has been stated, this is still in beta and I have yet to
get any significant beta testers (most of the new versions are mainly
new functionality rather than bugfixes, all of which I somehow
discovered myself).
At 12:17 PM -0400 10/23/06, Robert Cummings wrote:
On Mon, 2006-10-23 at 11:12 -0400, tedd wrote:
Does anyone have any recommendations or can point me to a simple
content manager for such a purpose?
If you just want something simple like what PHP uses, you're probably
going to spend more
I have two somewhat general questions about the PHP 5
language. These points remain unclear to me after reading
the manual and working with the language for a few months:
i) Does the language provide a way to generate a private or
local class that is accessible only within another function
or a
On Mon, 2006-10-23 at 15:53 -0400, tedd wrote:
At 12:17 PM -0400 10/23/06, Robert Cummings wrote:
On Mon, 2006-10-23 at 11:12 -0400, tedd wrote:
Does anyone have any recommendations or can point me to a simple
content manager for such a purpose?
If you just want something simple like
David Morse wrote:
I have two somewhat general questions about the PHP 5
language. These points remain unclear to me after reading
the manual and working with the language for a few months:
i) Does the language provide a way to generate a private or
local class that is accessible only
Hello,
I would like to know if it is possible to change php configuration per
.htaccess file? For example, to be able to switch register_globals on/off
and the like (based on the main configuration file)?
If it is possible, could someone share what the general syntax for
.htaccess file
Zbigniew Szalbot wrote:
I would like to know if it is possible to change php configuration per
.htaccess file? For example, to be able to switch register_globals
on/off and the like (based on the main configuration file)?
If it is possible, could someone share what the general syntax for
Hi,
STFWNN!!
Ok, don't know what it means but will google, lesson learnt ;)
http://www.google.co.uk/search?q=change+php+configuration+htaccess
Sorry, I should have started from google. I had a brief look at php
configuration but could not find a specific reference. Anyway, thanks.
Tedd wrote:
I just wanted to check before launching my own home-grown
solution and then having everyone say Why didn't you use
so-and-so's 'comment manager'?
For what it's worth, I'm interested in a good solution to this problem
as well, and I don't think it's nearly as trivial as others seem
Hello tedd,
Monday, October 23, 2006, 1:53:41 PM, you wrote:
Well... I was afraid that someone would say that (paint me into a
corner). I just wanted to check before launching my own home-grown
solution and then having everyone say Why didn't you use
so-and-so's 'comment manager' ?
Sorry,
Zbigniew Szalbot wrote:
STFWNN!!
Ok, don't know what it means but will google, lesson learnt ;)
You could Google that too, but I don't believe the NN is very common.
Stands for Search the Effing Web Numb Nuts.
Glad I could help.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To
On Mon, October 23, 2006 3:07 pm, David Morse wrote:
i) Does the language provide a way to generate a private or
local class that is accessible only within another function
or a parent class. In python, for example, if you declare a
class or function within a function definition, I believe it
Please don't reply directly to me - always include the list.
Mark wrote:
It is just my friends kids on this site so do you know how i could do
the active x thing please help thanks
I don't care if it's on your Intranet! Spying on visitors to a website
is not good on several levels. If you
On Mon, 2006-10-23 at 16:54 -0400, Chris Shiflett wrote:
Tedd wrote:
I just wanted to check before launching my own home-grown
solution and then having everyone say Why didn't you use
so-and-so's 'comment manager'?
For what it's worth, I'm interested in a good solution to this problem
At 8:42 PM +0100 10/23/06, Stut wrote:
Rob Kritzer wrote:
Is it possible to FTP a folder and all it's content? I can do a file at a
time, but not a folder.
Also there is times when I will not know the folder name, so I would like it
to just upload everything it finds in the folder I set.
Is
On Mon, October 23, 2006 4:18 pm, tedd wrote:
I certainly can read the contents of a folder on the server, but I
don't see how you can do it client-side.
E.
You could install PHP on the client and do it with PHP.
Or it could be TOTALLY OFF-TOPIC
Now, am I right, or do you have a way to
Robert Cummings wrote:
Well it's still trivial, just most of us who have frameworks
wouldn't be so wasteful of our time to remove the dependency
of our framework and code it from first principles.
If your framework is written in PHP and doesn't have any external
dependencies, why are you
On Sun, October 22, 2006 7:19 am, Mark McWhirter wrote:
Is there any way that I can get a script to take a screen shot every
minute
of all the users using my php website?
You mean a literal screen shot of what's on my monitor?!
Uhhh, no.
That would be just a tiny bit of a security hole,
On Sun, October 22, 2006 11:39 am, Dotan Cohen wrote:
And how does that produce a screenshot?
You could re-render in smaller form the same page you sent to them,
since you have all the inputs it required to send it, since you sent
it from those inputs.
--
Some people have a gift link here.
On Mon, 2006-10-23 at 17:27 -0400, Chris Shiflett wrote:
Robert Cummings wrote:
Well it's still trivial, just most of us who have frameworks
wouldn't be so wasteful of our time to remove the dependency
of our framework and code it from first principles.
If your framework is written in
On Sat, October 21, 2006 6:55 pm, Fred Moses wrote:
Is there a function which returns the IP address of the requestor of
the
current page?
Any question like this:
Is there a way to find out X that came in from the user
is almost always answered by adding this to the top of your code:
?php
On Sat, October 21, 2006 6:25 pm, Kevin Wilcox wrote:
ext/standard/var_unserializer.c, and I don't think what will port to a
That's pretty much the code I would have pointed you to...
Unless you happen to KNOW that all the data inside the arrays is
ultimately scaler or something...
I suppose
On Fri, October 20, 2006 11:40 am, Richard Lynch wrote:
The canonical PHP example of web-scraping:
?php echo file_get_contents('http://php.net/');?
fails on a machine I'm using.
I'm laying out here all the things I've done and eliminated, and it
got awfully long...
Short Version:
FC4 +
On Fri, October 20, 2006 10:04 am, Fourat Zouari wrote:
I have PHP/PostgreSQL application were i got a search page with some
items
to search, am building the search query on server side.
I need to display a paginated search and for this i need to get the
total
count of lines matching the
On Oct 23, 2006, at 2:27 PM, Richard Lynch wrote:
On the Mac, I always dug Fetch personally.
Nice... I've been looking for something like Fetch.
PC, you got your CuteFTP and all that ilk.
SecureFTP by VanDyke rocks.
Now, on *nix, SCP is nice for that, if you have SSH shell access. If
Hello List,
I am trying to develop a web based controller for a robot. The robot has an
embedded telnet deamon and it is controlled primarily through issuing
commands on this port. I am planning to implement this system with PHP on the
server side.
Ideally what I would like to do is have two
At 4:27 PM -0500 10/23/06, Richard Lynch wrote:
On Mon, October 23, 2006 4:18 pm, tedd wrote:
I certainly can read the contents of a folder on the server, but I
don't see how you can do it client-side.
E.
You could install PHP on the client and do it with PHP.
Interesting.
So a php
On 23/10/06, Stut [EMAIL PROTECTED] wrote:
Mark wrote:
It is just my friends kids on this site so do you know how i could do
the active x thing please help thanks
I don't care if it's on your Intranet! Spying on visitors to a website
is not good on several levels. If you really want to do it
At 2:56 PM -0700 10/23/06, Ed Lazor wrote:
On Oct 23, 2006, at 2:27 PM, Richard Lynch wrote:
On the Mac, I always dug Fetch personally.
Nice... I've been looking for something like Fetch.
Yeah, Fetch is super cool, but it's been around as long as I have --
I'm surprised you haven't heard
On Mon, October 23, 2006 4:55 am, Ivo F.A.C. Fokkema wrote:
For my projects I use MySQL anyway, and this one even bypasses the
LIMIT
clause, according to the MySQL manual. All I have to do is check if my
users are using MySQL = 4.0... That's been released for a while, but
you
never know...
On Mon, October 23, 2006 5:21 pm, Prathaban Mookiah wrote:
I am trying to develop a web based controller for a robot. The robot
has an
embedded telnet deamon and it is controlled primarily through issuing
commands on this port. I am planning to implement this system with PHP
on the
server
tedd wrote:
Interesting.
So a php server-side php script can establish a two-way communication
with a client-side php script -- do you have an example?
http://php.net/sockets
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 4:21 AM +0600 10/24/06, Prathaban Mookiah wrote:
Hello List,
I am trying to develop a web based controller for a robot. The robot has an
embedded telnet deamon and it is controlled primarily through issuing
commands on this port. I am planning to implement this system with PHP on the
server
On Mon, October 23, 2006 5:07 pm, tedd wrote:
Interesting.
So a php server-side php script can establish a two-way communication
with a client-side php script -- do you have an example?
http://php.net/sockets
should have an example...
--
Some people have a gift link here.
Know what I want?
On Mon, October 23, 2006 2:41 am, Dotan Cohen wrote:
On 23/10/06, David Tulloh [EMAIL PROTECTED] wrote:
Breaking this down you have a hardcoded password.
In the script you store a hash of the password rather than the
actual
password.
Yes, no choice but to have the password in the file. I
On Fri, October 20, 2006 9:28 am, Anton Statutov wrote:
DOCUMENTATION php://input is not available with
enctype=multipart/form-data.
What I should do if I really need to get multipart data? I want to
implement my own form-data parser with PHP5. Can I at least turn off
the
PHP's one to be
Your PHP is fine.
Your URL sucks. :-)
You can't have spaces in the data, nor / nor all kinds of stuff.
Which is why you should ALWAYS call:
http://php.net/urlencode
on data before you cram it into a URL.
*then*, if you are putting that URL into HTML for a person to click
on, you need to make
On Fri, October 20, 2006 5:20 am, Dave Goodchild wrote:
Hi all, I am having issues with users not being able to post their
details
to my site. The system uses sessions, so when they hit the index page
a test
cookie is set thus:
setcookie('djst', 'test');
You should *NOT* set the timeout to
On Fri, October 20, 2006 3:20 am, Marc Roberts wrote:
Is it possible to use php to check that the .css file in the html of a
web page is the correct one e.g. check if the file included in the
html
is new.css.
I think I will have to write a regex but if anyone has any ideas (or
already has a
The way you do or don't tear apart the original URL to get user and
login, as well as the URL you send out will affect this.
If your URL starts with / then it is an absolute URL, and the
browser won't put the current directory (from its perspective) in
front of it.
It's also possible you just
On Thu, October 19, 2006 1:49 pm, Tom Ray [Lists] wrote:
Is it possible to have a PHP script execute as the user of the domain
instead of the webserver? So when I upload files through a PHP script
they are owned by me and not wwwrun or nobody?
On a dedicated server, it's trivial to do it.
Look
On Fri, October 20, 2006 12:49 am, Chris wrote:
A shared user (like www or nobody) is a *much* bigger risk than
separate users.
*MUST* we go through all the permutations of What if... for these
two scenarios again?
The Risk cannot be evaluated outside the context of everything else
you do
On Fri, October 20, 2006 8:24 am, chris smith wrote:
php running through apache:
?php
mkdir('/path/to/dir');
?
Making that in a shared location will allow *any* domain to write to
it, read from it or delete it (forget about possible open_basedir
restrictions).
If 'nobody' can read/write
You may also want to read PHP IMAP source and see what it does in its
initializiation function.
That may reduce the category of DNS Error to something a lot more
specific...
http://lxr.php.net/
On Thu, October 19, 2006 8:52 am, Edward Kay wrote:
Hello,
I need PHP's IMAP extension for my
Y: doesn't exist.
It may not exist because you haven't opened it lately and
authenticated it as valid.
Or it might not exist because PHP is not running as you, and PHP has
no access to it.
Or it might not exist because it's Windows, and you need to re-boot.
On Wed, October 18, 2006 2:14 pm,
1 - 100 of 113 matches
Mail list logo