It brings up another question, though. Let's say that I have a
session_start() call at the beginning of a bunch of pages. So that each
time one of these pages is called, the call is made to session_start().
It seems like it would screw things up royally if each call to
session_start() generated
Paul M Foster wrote:
This is in two parts. First cookies. I'm a little unclear on how they
work. From what I've read, cookies are stored by the browser. When a
request for that cookie comes in from the server, the browser returns
only the value, and no other data. One question: When the browser
Again, thank you for everyone that offered their advice.
Gary gwp...@ptd.net wrote in message
news:8a.64.51087.33bf3...@pb1.pair.com...
I'm working on learning php and have been toying with includes, and I am
trying to figure the advantages/disadvantages to using them.
I know that using
Again, thank you for everyone that offered their advice.
Gary gwp...@ptd.net wrote in message
news:8a.64.51087.33bf3...@pb1.pair.com...
I'm working on learning php and have been toying with includes, and I am
trying to figure the advantages/disadvantages to using them.
I know that using
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: 09 March 2009 19:55
To: Mayer, Jonathan
Cc: Gary; php-general@lists.php.net
Subject: RE: [PHP] Re: PHP includes
On Mon, 2009-03-09 at 15:10 +, Mayer, Jonathan wrote:
Thank you to everybody that
From: Dirk
Thilo Klein wrote:
Dear readers,
I am new to relational DB but not to MySQL PHP in general. I
created a RDB using Struggling with the program's
complexity I managed to create a set of databases being
interconnected
via (foreign) keys.
What I want to know is how to
Mayer, Jonathan wrote:
Just thought I'd point out that it's recommended against giving non-php
extensions to PHP code pages. Basically, making all of your include
files .inc without the server correctly configured to recognise all .inc
files as PHP files, you are opening yourself up to
Hi all :-)
I want to use of *soft phone* application in my php codes..First is it
possible? has php a module for this purpose?
if it hasn't... By the way I think I must use of something else such as a
java application in my php codes...
now how can I embed this application to my program? and do
shahrzad khorrami wrote:
Hi all :-)
I want to use of *soft phone* application in my php codes..First is it
possible? has php a module for this purpose?
if it hasn't... By the way I think I must use of something else such as a
java application in my php codes...
now how can I embed this
Thanks again for all the help.
I created a simple page of all includes (header, menu, 3 columns). I mixed
the file types up. The menu (projectseven PMM) I saved as a library item,
works fine. Had an HTML file in there, but I am guessing that having 2 page
declarations along with an extra set
On Tue, Mar 10, 2009 at 01:23, Paul M Foster pa...@quillandmouse.com wrote:
(Dan, make the check out to... ;-)
Paul
I prefer PayPal. Thanks to the Postal Service, the cost of a
stamp is probably more than a bribery or endorsement payment. :-\
--
/Daniel P. Brown
On Mon, Mar 9, 2009 at 8:43 PM, Sashikanth Gurram sashi...@vt.edu wrote:
Is there any way in which I can assign a variable to a query string?
Like for example, Let us say that there are two php files a.php and
b.php. I am currently using a image tag like img
src=imgtest.php?id=Williams Hall /
On Tue, Mar 10, 2009 at 8:25 AM, Michael A. Peters mpet...@mac.com wrote:
shahrzad khorrami wrote:
Hi all :-)
I want to use of *soft phone* application in my php codes..First is it
possible? has php a module for this purpose?
if it hasn't... By the way I think I must use of something else
On Mon, Mar 9, 2009 at 8:41 PM, Michael A. Peters mpet...@mac.com wrote:
Nathan Rixham wrote:
Michael A. Peters wrote:
Nathan Rixham wrote:
Michael A. Peters wrote:
Seems like such a function does not exist in php.
I can write my own function that does it using
DOMElement-hasAttribute()
On Mon, Mar 9, 2009 at 8:24 PM, Nathan Rixham nrix...@gmail.com wrote:
Michael A. Peters wrote:
Nathan Rixham wrote:
Michael A. Peters wrote:
Seems like such a function does not exist in php.
I can write my own function that does it using
DOMElement-hasAttribute() - but I'm not sure how
Hi Guys,
I want to ask you about this problem:
I have a FUNCTION where is a DOMDocument element, that DOMDocument element
is Load from a string (With well formed XML structure) stored in a param,
this is code:
?php
function xml_match($columns,$text,$result)
{
...
/* Some code */
...
$doc =
2009/3/10 Clancy clanc...@cybec.com.au
On Mon, 9 Mar 2009 10:07:33 +, stut...@gmail.com (Stuart) wrote:
...
As in the example script I've posted above you can refer to the current
working directory with a single period (.), but this is still relying on
the
current working directory
Please keep the discussion on-list.
2009/3/10 Clancy clanc...@cybec.com.au
Hi,
After I posted my message to the group today I realised that my program
achieves its
almost infinite flexibility by loading different include files in different
circumstances,
and from many different parts of
haliphax wrote:
On Mon, Mar 9, 2009 at 8:43 PM, Sashikanth Gurram sashi...@vt.edu wrote:
Is there any way in which I can assign a variable to a query string?
Like for example, Let us say that there are two php files a.php and
b.php. I am currently using a image tag like img
Mauricio Muriel wrote:
Hi Guys,
I want to ask you about this problem:
I have a FUNCTION where is a DOMDocument element, that DOMDocument element
is Load from a string (With well formed XML structure) stored in a param,
this is code:
?php
function xml_match($columns,$text,$result)
{
On Tue, Mar 10, 2009 at 5:54 AM, shahrzad khorrami
shahrzad.khorr...@gmail.com wrote:
Hi all :-)
I want to use of *soft phone* application in my php codes..First is it
possible? has php a module for this purpose?
if it hasn't... By the way I think I must use of something else such as a
I am confused with XML-RPC / SOAP and WSDL ...
If you have a server with a script/file like test.asmx and some web
services ...below example of service format :
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The
placeholders shown need to be replaced with actual values.
Anton Heuschen wrote:
I am confused with XML-RPC / SOAP and WSDL ...
If you have a server with a script/file like test.asmx and some web
services ...below example of service format :
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The
placeholders shown need to be
Mauricio Muriel wrote:
Hi Shawn,
Thanks for your time, this is the complete code of the function (in
fact the complete code in: xml_match.php file)
?php
function xml_match($columns,$text,$result)
{$debug=true;
echo Starting XML Module;
if ($debug)
{echo br /strongStarting
Potatoes: The Instant Recipe
RE: Robert Cummings
Put a washed non peeled medium size potato per person over a oven-plate and
take it to the oven.
When almost done, slice longitudinally and add a piece of hard cheese.
When cheese melts take the potates from the oven, add salt or whatever
Potatoes: The Instant Recipe
RE: Robert Cummings
Put a washed non peeled medium size potato per person over a oven-plate and
take it to the oven.
When almost done, slice longitudinally and add a piece of hard cheese into
the slice.
When cheese melts take the potates from the oven, add salt or
Mauricio Muriel wrote:
Please keep replies on list.
At a minimum you are missing the closing brace } for your function. I
would suggest that you find an IDE or at least a text editor that has
PHP syntax checking.
-Shawn
Sorry for my error IN THE EMAIL, the code is
On Tue, Mar 10, 2009 at 12:00:16PM -0300, Eduardo wrote:
Potatoes: The Instant Recipe
RE: Robert Cummings
Put a washed non peeled medium size potato per person over a oven-plate and
take it to the oven.
When almost done, slice longitudinally and add a piece of hard cheese.
When
Gary schreef:
Thanks again for all the help.
I created a simple page of all includes (header, menu, 3 columns). I mixed
the file types up. The menu (projectseven PMM) I saved as a library item,
works fine. Had an HTML file in there, but I am guessing that having 2 page
declarations
Newbie question...
At the end of a php block I'm trying to use a redirect to go to another
page.
header('Location: show.php');
It works on my test server w php 5.2.6 but not at the main server w v 5.12
Is there a way to get it to go to the other page (even with a different
command/function) -
On Tue, Mar 10, 2009 at 3:13 PM, revDAVE c...@hosting4days.com wrote:
Newbie question...
At the end of a php block I'm trying to use a redirect to go to another
page.
header('Location: show.php');
It works on my test server w php 5.2.6 but not at the main server w v 5.12
Is there a way
2009/3/10 revDAVE c...@hosting4days.com
Newbie question...
At the end of a php block I'm trying to use a redirect to go to another
page.
header('Location: show.php');
It works on my test server w php 5.2.6 but not at the main server w v 5.12
Is there a way to get it to go to the other
On Tue, Mar 10, 2009 at 15:13, revDAVE c...@hosting4days.com wrote:
Newbie question...
At the end of a php block I'm trying to use a redirect to go to another
page.
header('Location: show.php');
It works on my test server w php 5.2.6 but not at the main server w v 5.12
Did you already
On Tue, Mar 10, 2009 at 7:59 PM, Gary gwp...@ptd.net wrote:
Thanks again for all the help.
I created a simple page of all includes (header, menu, 3 columns). I mixed
the file types up. The menu (projectseven PMM) I saved as a library item,
works fine. Had an HTML file in there, but I am
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
I'm sorry you were not able to understand the questions, but thank you for
trying.
The path to the include is not an absolute path.
Jochem Maas joc...@iamjochem.com wrote in message
news:49b6b6d8.7050...@iamjochem.com...
Gary schreef:
Thanks again for all the help.
I created a simple page
On Tue, Mar 10, 2009 at 15:31, 9el le...@phpxperts.net wrote:
I'm trying to find whoami here :D
You mean to say:
I'm trying to find whyami here.
;-P
--
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All
On Tue, Mar 10, 2009 at 3:31 PM, 9el le...@phpxperts.net wrote:
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
Sorry to be a nuisance again, but I cannot understand why my code is not
functioning correctly.
I have tested the separate elements of the code and they work fine. But
when I put it all together something goes off the rails. I am using
sessions and cookies.
After verifying that the required fields
Daniel Brown wrote:
On Tue, Mar 10, 2009 at 15:31, 9el le...@phpxperts.net wrote:
I'm trying to find whoami here :D
You mean to say:
I'm trying to find whyami here.
I think I am here therefore I why?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
PJ,
On Tue, Mar 10, 2009 at 3:46 PM, PJ af.gour...@videotron.ca wrote:
snip
$sql1 = INSERT INTO book ( title, sub_title, descr,
comment, bk_cover, copyright, ISBN, language, sellers )
VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$commentIN',
'$bk_coverIN',
I have a simple web site with a simple page that all works well,
although I have had a similar problem a couple of times that seems to be
caused by Comment Lines in the included files. I wonder if I have it
entirely right.
All my files are .php files, but almost all the code is HTML.
The file
Bob McConnell wrote:
From: Dirk
Thilo Klein wrote:
Dear readers,
I am new to relational DB but not to MySQL PHP in general. I
created a RDB using Struggling with the program's
complexity I managed to create a set of databases being
interconnected
via (foreign) keys.
What I want
Patrick Moloney wrote:
Does PHP preprocess the file but treat the comments as text because I
never said it was HTML?
I've not had it do that.
Would PHP comments have to be inside PHP tags?
Yes. If you use a php comment it has to be inside a php tag.
One issue I have seen though is
Patrick Moloney wrote:
I have a simple web site with a simple page that all works well,
although I have had a similar problem a couple of times that seems to be
caused by Comment Lines in the included files. I wonder if I have it
entirely right.
All my files are .php files, but almost all the
Hi all,
I wrote a PHP script running in Apache which takes more than 30 seconds to
complete. It uses set_time_limit() to extend the time it is allowed to run.
The script generates thumbnails from a list of images. Upon completion, the
script redirects the browser to another page using HTTP
On Tue, 10 Mar 2009 09:59:53 -0400, gwp...@ptd.net (Gary) wrote:
Thanks again for all the help.
I created a simple page of all includes (header, menu, 3 columns). I mixed
the file types up. The menu (projectseven PMM) I saved as a library item,
works fine. Had an HTML file in there, but I am
From time to time, I usually get a message of earn money from home or
things like that, and in the bottom, it says,
This email has been written and proved to be in compliance with the
recently established can-spam act law in US. We are not provoking or forcing
any person in any way to participate
On Tue, Mar 10, 2009 at 19:37, דניאל דנון danondan...@gmail.com wrote:
Can anyone explain, first,
Why doesn't the usual PHP-MailingList-Footer appears?
It's SPAM. Not much we can do about it in an open forum,
unfortunately. Just ignore it.
Second, What is the out_of_the_list email
please keep replies on list ... I enjoy my
beatings in public ...
Joanne Lane schreef:
On Tue, 2009-03-10 at 01:05 +0100, Jochem Maas wrote:
yeah but those from php-women should know better :-)
my eye keeps picking up php-women since I had a very nice chat
with JRF (of phpwomen.org) at
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
Gary schreef:
I'm sorry you were not able to understand the questions, but thank you for
trying.
a few tips:
1. don't assume people know what 'projectseven PMM'
2. it's doubtful anyone worth their salt on this list uses or
knows much about a mind-bending, soul-destroyer like DreamWeaver.
3.
Jochem
Thanks for your reply, the project seven and DW was just for a point of
information, same as if you have an issue with a computer you generally find
it a good idea to list your operating system and other pertinent facts.
I had coded the scripts and files by hand.
The file was not on
It is my understanding that when you open a page the PHP server looks for
index.php in the
site root directory, and loads it. As a result the working directory of the
page will be
the root directory of the site. I have always worked on this assumption, and
it has
always been correct. On the
On Tue, 10 Mar 2009 15:12:57 +, stut...@gmail.com (Stuart) wrote:
Please keep the discussion on-list.
2009/3/10 Clancy clanc...@cybec.com.au
Hi,
After I posted my message to the group today I realised that my program
achieves its
almost infinite flexibility by loading different include
*Handling (very) large files with PHP*
Hello, I am planning a project in PHP, and I have few unsolved issues that
I'd like you to help me...
The project will start by loading a file of about 50GB.
The file has a many objects with a pattern, for example,
Name: Joe
Joe likes to eat
Hi Bastien - Stuart Daniel
Thanks for your help!
On 3/10/2009 12:16 PM, Bastien Koert phps...@gmail.com wrote:
Are you getting an error? What does 'not working' mean?
No errors the page just stayed on the
header('Location: show.php'); page - never went to: show.php
---
On 3/10/2009 12:17
Clancy wrote:
It is my understanding that when you open a page the PHP server looks for
index.php in the
site root directory, and loads it.
The web server (not php) looks for an index.php file (if configured to
do so) based on the path.
http://www.example.com/subdir/folder/
will look in
You can configure different index file names for Apache to check for.
e.g index.html, index.htm, index.php, default.htm
I had one webserver where it would only accept default.htm as the file,
and didn't allow .htaccess files.
Michael Kubler
*G*rey *P*hoenix *P*roductions
On Wed, Mar 11, 2009 at 03:04:19AM +0200, ?? wrote:
*Handling (very) large files with PHP*
Hello, I am planning a project in PHP, and I have few unsolved issues that
I'd like you to help me...
The project will start by loading a file of about 50GB.
The file has a many
Anyway, so, I am going to convert it into a database, and I insist on using
PHP for this.
Wrong answer. Use the right tool for the job. I don't think php is it.
Personally I'd go for perl for doing this. It's much better (IMO) at
text processing, especially large files. As long as you know
61 matches
Mail list logo