On Thu, Jun 7, 2012 at 5:15 PM, Tedd Sperling wrote:
> Hi Daniel and gang:
>
> Considering I'm never afraid to show my ignorance, please review the
> following example.
>
> Because of the way I normally use sessions and considering this way works for
> me, I thought I knew what sessions were abo
Hi Daniel and gang:
Considering I'm never afraid to show my ignorance, please review the following
example.
Because of the way I normally use sessions and considering this way works for
me, I thought I knew what sessions were about -- but my faith is eroding.
Cases in point
1. The following i
On Jul 12, 2011, at 3:10 PM, Thomas Dineen wrote:
> Gentle People:
>
>Sorry if this appears off topic but I am not sure where to post the
> question. Please do not get mad, just recommend a better venue!
>
>Currently I am quite experienced with C and learning C++ but I have
> never writ
>
> Also I have successfully experimented with Apache and PHP but have not yet
> identified graphics applications for this venue either! Ideas?
>
You may want to look into PHP:GD
link to manual: http://php.net/manual/en/book.image.php
HTH,
Chris
--
PHP General Mailing List (http://www.php.n
Gentle People:
Sorry if this appears off topic but I am not sure where to post the
question. Please do not get mad, just recommend a better venue!
Currently I am quite experienced with C and learning C++ but I have
never written graphical type applications in either!
Can you recomme
On Sun, Oct 31, 2010 at 13:50, Ryan Sun wrote:
> which user it is executed as when request a php script on browser?(suppose
> we are on a shared LAMP hosting)
Find out:
--
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/
--
Reply message -
From: "Ryan Sun"
Date: Sun, Oct 31, 2010 18:43
Subject: [PHP] a question about user and permission on linux
To: "a...@ashleysheridan.co.uk"
Then whats the user of php?
On 10/31/2010 2:39 PM, a...@ashleysheridan.co.uk wrote:
> If its Apache on Linux (as mo
If its Apache on Linux (as most hosting will be) then the user will generally
be either apache, www, or http.
Thanks,
Ash
http://www.ashleysheridan.co.uk
which user it is executed as when request a php script on
browser?(suppose we are on a shared LAMP hosting)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Pruim wrote:
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
Otherwise, is there any reason you're not just doing something
like the following?
Because I came as a HTML person into PHP and didn't even think about
being able to include my headers, footers, nav etc in the php
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
>
> > On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> >>
> >> On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
> >>
>
> Unless I use sessions maybe? Could I write the sort order
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand w
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
>
> >>
> >> Unless I use sessions maybe? Could I write the sort order into a
> >> session variable and have that change? Or did I completely
> >> misunderstand what sessions are used for? :)
> >
On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
Unless I use sessions maybe? Could I write the sort order into a
session variable and have that change? Or did I completely
misunderstand what sessions are used for? :)
You could definitely do it with sessions if you wanted, but you
won
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 2007, at 10:34 AM, Daniel Brown wrote:
>
> > On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> >> Hey Everyone,
> >>
> >> Is it possible to have variables affect the database results of an
> >> included php page in a shtml page? L
On Aug 16, 2007, at 10:34 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear that up...
index.shtml?order=a < that does not res
On 8/16/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hey Everyone,
>
> Is it possible to have variables affect the database results of an
> included php page in a shtml page? Let me try and clear that up...
>
> index.shtml?order=a < that does not resort the database results
> index.php?order=a
Hey Everyone,
Is it possible to have variables affect the database results of an
included php page in a shtml page? Let me try and clear that up...
index.shtml?order=a < that does not resort the database results
index.php?order=a <- That DOES resort the database results...
Can I just
On Mon, May 28, 2007 6:46 pm, Davis Chan wrote:
> Hi! I am developing a site with some authenticated users only
> features.
> I would like to know if the following is true:
>
> 1. script for login process is located on a SSL-enabled server, so
> usernames and passwords are encrypted.
> 2. upon succ
Hi! I am developing a site with some authenticated users only features.
I would like to know if the following is true:
1. script for login process is located on a SSL-enabled server, so
usernames and passwords are encrypted.
2. upon successful login, user is relocated to a non-SSL-enabled serve
On Mon, April 10, 2006 1:48 pm, Eric Butera wrote:
> Thank you for your response. I did read that in the manual, I
> promise.
> That is why I included the sleep function in my example. Shouldn't
> the
> sleep function count as execution time? One thing I didn't metion
> earlier,
> for the sake o
On Monday 10 April 2006 11:48, Eric Butera wrote:
> Ray,
>
> Thank you for your response. I did read that in the manual, I promise.
> That is why I included the sleep function in my example. Shouldn't the
> sleep function count as execution time? One thing I didn't metion earlier,
> for the sake
On 4/10/06, Ray Hauge <[EMAIL PROTECTED]> wrote:
>
> On Monday 10 April 2006 11:30, Eric Butera wrote:
> > Dear List,
> >
> > I have been working with a PHP script that curls a file from another
> > server. This works fine on my local machine, but not on our live
> server.
> > The script takes abo
On Monday 10 April 2006 11:30, Eric Butera wrote:
> Dear List,
>
> I have been working with a PHP script that curls a file from another
> server. This works fine on my local machine, but not on our live server.
> The script takes about 400 seconds to execute completely. I was under the
> impressi
Dear List,
I have been working with a PHP script that curls a file from another
server. This works fine on my local machine, but not on our live server.
The script takes about 400 seconds to execute completely. I was under the
impression that my call to set_time_limit(900); was helping. Well, I
On Tue, November 8, 2005 3:48 pm, Tony Di Croce wrote:
> Oops!
>
> I meant SESSION[]! Thanks guys...
>
> So then the question becomes, is storing stuff in SESSION[] insecure?
> Is
> their any point to encrypting what a store in SESSION[]?
On a shared server, this would be a really Good Idea (tm) i
On Tue, November 8, 2005 3:10 pm, Tony Di Croce wrote:
> Are variables that are stored in the $_POST[] array ever communicated
> to the
> browser?
>
> Im using PHP sessions, and I store lots of variables in $_POST[]... If
> I use
> $_POST[] to communicate variables from 1 php script to another, is
Tony Di Croce wrote:
Are variables that are stored in the $_POST[] array ever communicated
to the browser?
It's quite the opposite. $_POST is populated with data from the content
of a POST request sent by the browser.
Im using PHP sessions, and I store lots of variables in $_POST[].
Can y
Are variables that are stored in the $_POST[] array ever communicated to the
browser?
Im using PHP sessions, and I store lots of variables in $_POST[]... If I use
$_POST[] to communicate variables from 1 php script to another, is that
insecure?
--
for only the most hard core geekstas...
http://ge
wayne wrote:
On Mon, 2005-08-08 at 13:48 +0200, Jochem Maas wrote:
wayne wrote:
On Sun, 2005-08-07 at 23:14 +0200, Jochem Maas wrote:
Hi Jochem,
Hi Jochem,
Would you mine if I send you the beginning part of the
php script,about 20 lines of code, to see if I'm missing
something?
I would
Well if you're using 4.3.10 as you said in your other post then
__autoload is not supported anyway. A grep on autoload would've turned
it up.
I'm assuming you've tried a grep for "CFG" to find the declaration?
Jasper
wayne wrote:
Hi Jasper,
I thought about this and so I did a grep on "autol
Hi Jasper,
I thought about this and so I did a grep on "autoload"
and came up empty. Is there a different way of checking
for the magic function?
Thanks
On Mon, 2005-08-08 at 08:24 +1200, Jasper Bryant-Greene wrote:
> Or if it's PHP 5 they might be using an __autoload() magic function
> which get
Hi Marco,
The version of php I have is 4.3.10. Is there something
similar to the below example in the version I have?
Thanks.
On Sun, 2005-08-07 at 16:39 -0400, Marco Tabini wrote:
> On 8/7/05 4:24 PM, "Jasper Bryant-Greene" <[EMAIL PROTECTED]> wrote:
>
> > Or if it's PHP 5 they might be using a
wayne wrote:
First, I'm new to PHP. I have a script that
has a piece of code that looks like this -
require_once($CFG->wwwroot . '/lib/mylib.php');
My question is this, I'm trying to find out
how the class $CGF was initiated.There are no
include or require statement before the statement.
Is $CFG
On 8/7/05 4:24 PM, "Jasper Bryant-Greene" <[EMAIL PROTECTED]> wrote:
> Or if it's PHP 5 they might be using an __autoload() magic function
> which gets called whenever a class that isn't declared is instantiated.
> That function could be require()ing another file.
Well, if it is PHP 5, then you c
Or if it's PHP 5 they might be using an __autoload() magic function
which gets called whenever a class that isn't declared is instantiated.
That function could be require()ing another file.
Jasper
Chris wrote:
That isn't created by PHP, it must be declared in the code somewhere.
Maybe there
That isn't created by PHP, it must be declared in the code somewhere.
Maybe there is an auto_prepend_file set?
http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file
Chris
wayne wrote:
First, I'm new to PHP. I have a script that
has a piece of code that looks like this -
require_onc
First, I'm new to PHP. I have a script that
has a piece of code that looks like this -
require_once($CFG->wwwroot . '/lib/mylib.php');
My question is this, I'm trying to find out
how the class $CGF was initiated.There are no
include or require statement before the statement.
Is $CFG a global variab
Hello
How I can find that php is installed as cgi or as apache module?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: Thursday, December 09, 2004 9:15 AM
To: Eakin, W
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] a question about the PHP manual
Eakin, W wrote:
> Hello,
> As I'm studying, and learning, PHP, I use certain resources again
> and again. A few books I've bought, some web sites
Eakin, W wrote:
> Hello,
> As I'm studying, and learning, PHP, I use certain resources again
> and again. A few books I've bought, some web sites, this mailing list,
> and the PHP manual. I've taken the often repeated 'RTFM' to heart, and I
> attempt to google or RTFM before considering a post
On Thursday 09 December 2004 1:56 pm, Eakin, W wrote:
> I've noticed that most of the replies to the questions on this list,
> when they refer to a part of the manual, point to the same few sections
> over and over. Such as arrays, strings, sessions, objects, and a few
> others. My question is thi
At 09:56 AM 12/9/2004, Eakin, W wrote:
>Hello,
>As I'm studying, and learning, PHP, I use certain resources again and
> again. A few books I've bought, some web sites, this mailing list, and
> the PHP manual. I've taken the often repeated 'RTFM' to heart, and I
> attempt to google or RTFM bef
At 09:56 AM 12/9/2004, Eakin, W wrote:
Hello,
As I'm studying, and learning, PHP, I use certain resources again and
again. A few books I've bought, some web sites, this mailing list, and
the PHP manual. I've taken the often repeated 'RTFM' to heart, and I
attempt to google or RTFM before cons
Hello,
As I'm studying, and learning, PHP, I use certain resources again
and again. A few books I've bought, some web sites, this mailing list,
and the PHP manual. I've taken the often repeated 'RTFM' to heart, and I
attempt to google or RTFM before considering a post to the list with a
ques
> > Anything that doesn't use the word 'flava' :)
> What if I name all my variables after Rocky characters? ;)
Hey! You stole my method! Actually, mine are Rocky and
Bullwinkle, but still! :p
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Jay Blanchard wrote:
Anything that doesn't use the word 'flava' :)
What if I name all my variables after Rocky characters? ;)
Now for the real can of worms...
On odd lines, I use spaces, and on even lines, I use tabs.
The above is an attempt at humor.
The below is an attempt at addressing the ques
Chapter 1 of Advanced PHP Programming, by George Schlossnagle, ISBN
0-672-32561-6.
http://www.blueshoes.org/en/developer/coding_guidelines/
> -Original Message-
> So I'm sitting here writing code and I'm thinking about my own style of
> writing
> and formatting my php code(I use a mix of
[snip]
So I'm sitting here writing code and I'm thinking about my own style of
writing
and formatting my php code(I use a mix of the pear standard and my own
flava).
What else do you guy's use?
What style should I base my code formatting on in order to be accepted
widely by
the php community at la
So I'm sitting here writing code and I'm thinking about my own style of writing
and formatting my php code(I use a mix of the pear standard and my own flava).
What else do you guy's use?
What style should I base my code formatting on in order to be accepted widely by
the php community at large?
How are you resolving hostnames? Are relevant IPs/Hostnames in your hosts
file? Does the local machine have mynotebook mapped to 127.0.0.1?
> -Original Message-
> A curious thing has been happening. When I run the PHP script on my
> machine using localhost, the script executes perfectl
Hi,
I am using a notebook running Windows XP Professional with IIS for my
PHP development. I am developing an application that generates RTF
files on the fly and stores them in a directory.
A curious thing has been happening. When I run the PHP script on my
machine using localhost, the scri
php-general,您好!
I've a PHP-MySQL site now.
I've a empty database named 'dsx'.
I'd like to creat a table named 'test' and insert some data in order
to test the database can use now.
Can any one give me some code about this,FROM connect TO
Ryan A wrote:
Hi,
I installed OSCommerce for a client quite some time back and everything was
running smoothly.
When the client needed to make changes she used to tell me and I used to do
it by ftping in, dl'ing the
files, making changes, uploading them.
Now she found that in the control panel you
Hi,
I installed OSCommerce for a client quite some time back and everything was
running smoothly.
When the client needed to make changes she used to tell me and I used to do
it by ftping in, dl'ing the
files, making changes, uploading them.
Now she found that in the control panel you can edit the f
http://it.php.net/manual/en/function.fwrite.php
On Sun, 2003-11-02 at 19:25, Yeung Koala wrote:
> Hi,
>
> Silly question of beginner:
> Is is possible to write a script to create and write a text file on server?
> How?
>
>
> P.S. Thanks Simon Stiefel for the "chomp" stuff
>
>
Hi,
Silly question of beginner:
Is is possible to write a script to create and write a text file on server?
How?
P.S. Thanks Simon Stiefel for the "chomp" stuff
_
Hotmail Extra Storage讓你獲得10MB 額外儲存空間,請即申請! http://join.msn.com/?pgmark
I think you mean:
$_SESSION['eventid'] = 'arma2';
vs
$eventid = 'arma2';
session_register('eventid');
I'd advise the first, unless you need to ensure backwards compatibility with
PHP < 4.1
Justin
on 22/06/03 4:41 PM, nabil ([EMAIL PROTECTED]) wrote:
> what is the diffirent between :
> /
what is the diffirent between :
//
session_start ();
$_SESSION['eventid'] = 'arma2';
///
and
/
session_start ();
session_register('arama2');
///
Regards
Nabil
Both accomplish the same thing, except how you are using it might not be
what you expect.
$_SESSIO
Sent: Sunday, June 22, 2003 3:46 AM
To: nabil; [EMAIL PROTECTED]
Subject: RE: [PHP] a question, need an answer
I could be wrong here, but from my experiences with sessions is that your
first session_start()
is assigning the value of 'arma2' to the $_SESSION['eventid'] variable,
where
il [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 22, 2003 1:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] a question, need an answer
what is the diffirent between :
//
session_start ();
$_SESSION['eventid'] = 'arma2';
///
and
/
session_start ();
session_
what is the diffirent between :
//
session_start ();
$_SESSION['eventid'] = 'arma2';
///
and
/
session_start ();
session_register('arama2');
///
Regards
Nabil
--
""open source world, open mind for all""
--
PHP General Mailing List (http://www.php.net/)
To u
First, by reflection which is
noblest; second, by imitation, which is the easiest; and third, by
experience, which is the bitterest." - Confucius
> From: Simon Coggins <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Sun, 8 Jun 2003 19:10:06 +1000
> To: [EMAIL P
Hi
I'm writing a wrapper for some mailman archives and i'm trying to put
them message into a variable as in:
$body = <<
Error:
Warning: Unexpected character in input: '' (ASCII=12) state=5 in
test.html on line 6
Is
On Mon, 10 Mar 2003, Robert Cummings wrote:
> All in all I spent 20 hours total for the client at a rate of $40 USD/hr
> which I believe is on the low end of freelance. I myself have 3 years
> experience devloping PHP web applications. So the question I ask is whther
> this time frame is reaso
[snip]
> Thanks, I did estimate 20 to 30 hours for them after I had set up the
mirror
> server and before the actual work began. At the same time I asked if they
wanted
> me to stop to which they replied that I should continue.
Offer them some cheese with their whine and tell them to pay up!
---J
"CPT John W. Holmes" wrote:
>
> [snip]
> > If it turns out that I am incompetent, then I will happily send them a
> > bill for zero hours, otherwise I would like to take comfort that I am not
> > ripping them off.
>
> Just my humble opinion, of course, but I think you did the job quickly
> co
[snip]
> If it turns out that I am incompetent, then I will happily send them a
> bill for zero hours, otherwise I would like to take comfort that I am not
> ripping them off.
Just my humble opinion, of course, but I think you did the job quickly
considering what you were given to start with.
Hi all,
I recently had a freelancing experience that has left me somewhat sour and
questioning myself. Unfortunately I don't feel I can fairly evaluate myself
and so I owuld like to put the question to my peers who populate the PHP
forum as to whether I have performed competently.
Last we
eg
function &A() {..
What does & mean here?
I've the reference seen ,but I still don't understand too much.
Can anyone give me more examples of Returning References?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adam Williams wrote:
> make a directory called phptest and put a file, index.php in
> it...never
> tried it tho.
In that case you will have to call http://localhost/phptest/?id=22
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
make a directory called phptest and put a file, index.php in it...never
tried it tho.
On Thu, 12 Sep 2002, LI DONG wrote:
> Hello everyone,
>
> It is a question about .php file extension. Is there any way to access PHP4
> script in Apache 1.3.x without .php extension? For example, how to use
>
>
just be sportnetwork.net/main.php?s=85
we use eregs to get the values out.
Cheers
John Wards
- Original Message -
From: "LI DONG" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 12, 2002 3:23 PM
Subject: [PHP] A question about .php file extens
Hello everyone,
It is a question about .php file extension. Is there any way to access PHP4
script in Apache 1.3.x without .php extension? For example, how to use
http://localhost/phptest?id=22
instead of
http://localhost/phptest.php?id=22
Thanks a lot!
ld.
Is there is a volume limitted for PHP upload file
using HTTP?
I heard of there is a 8-9Mb limitted,is it true?
Is there a method to solve it?
Hi Jay:
On Fri, Jul 12, 2002 at 08:40:31AM -0500, Jay Blanchard wrote:
>
> The agent selects a referral which is processed by an intermediary
> script which sets a flag in the database saying that "this agent" is, has,or
> will be contacting this referral (to prevent duplicate contact). Then thi
I see no problems whatsoever in utilizing an intermediary script to do processing of
information. However, there IS a problem when this script sets flags that are
unwanted by the client. An example of a good intermediary script application would be
as below.
Person A and Person B both remote
Howdy group,
Over the past couple of days I have come under some fire for my "style"
of coding, most particularly the use of PHP scripts to process information
between "pages" or interfaces shown to various users. An example;
An agent goes to an interface that reveals a list of customers f
> Dear people:
>
> I have a development that I made a year ago. In the first screen I
set
> a cookie that is used along all the parts of the software. This cookie
> establish the language of the software. Now some people that are
> installing the software are reporting me problems using the s
Dear people:
I have a development that I made a year ago. In the first screen I set a cookie
that is used along all the parts of the software. This cookie establish the language
of the software. Now some people that are installing the software are reporting me
problems using the software l
There is a difference in the default way php installs between 4.1.x and
4.2... the newer version comes with register_globals Off in the php.ini
file. Simple solution, change this value to On in your php.ini file, and
restart.
However, you scripts will be a lot more secure if you leave register_g
I've had many troubles with my php, now I'm a beginner
when it comes to php. I had installed Apache 1.3.2,
and was trying to run simple php4. You know with
index.php?id=yourpage with the code on the page being
See what happened is my
hard-drive crashed and I lost all my programs ect. I
managed to
Hi,
First off, let me say thank you to all those who replied helping me get
magic quotes turned back on my server.
Now that I'm fully able to enter quotes and such into my database and do
not need to put the addslashes() command in ... should I? Is it in a
better style to include the addslas
""C Benn"" <[EMAIL PROTECTED]> wrote:
> MY QUESTION: What in PHP acts like the 'server.mappath' function in ASP?
It
> gives you the ability to determain the root of the web site and use it as
a
> reference.
Is $DOCUMENT_ROOT what you are looking for.
To see a list of the predefined constants, l
I am new to PHP having converted from ASP (don't beat me up, it just took me
a while to see the light)
MY QUESTION: What in PHP acts like the 'server.mappath' function in ASP? It
gives you the ability to determain the root of the web site and use it as a
reference.
MY PROBLEM: I have been able t
I know this is not really php but because php and mysql are so close to one
another I thought I would ask
im looking to create an index or indexes on a table...reason being the table
can become very large and cumbersome and all of the queries on it use where
clauses as well to limit the resul
86 matches
Mail list logo