Hello!
Im new to programing and this is the situation I have with a first level
basic php tutorial: One of the samples uses a simple order form that submits
to this page and is supposed to return the values entered on that form. This
is the code not working:
Your order"; // Start printing order
Daniel Brown wrote:
On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida <[EMAIL PROTECTED]> wrote:
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the code
into a .php document and open it in my browser:
I'm pretty sure PHP is enabled on my computer. I've tested code such as:
On Thu, Jun 12, 2008 at 9:30 PM, Stut <[EMAIL PROTECTED]> wrote:
> On 12 Jun 2008, at 12:20, hce wrote:
>>
>> What is the best way for a PHP web application to connect to an
>> external application written by C in Linux OS?
>>
>> (1) Can PHP directly call external C functions, or similar solution?
On Thu, Jun 12, 2008 at 3:01 PM, Iv Ray <[EMAIL PROTECTED]> wrote:
> Shelley wrote:
>
>> Probably you have noticed this:
>> The classes in a package are reused together. If you reuse one of the
>> classes in a package, you reuse them all.
>> If that's the case, then why not just use one class as o
On Thu, 2008-06-12 at 22:03 -0400, Robert Cummings wrote:
> On Fri, 2008-06-13 at 11:10 +1000, Chris wrote:
> > Sebastian Camino wrote:
> > > Hello,
> > >
> > > I want to know what the "#" char does.
> >
> > In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp).
> >
> > In p
On Wed, Jun 11, 2008 at 12:02 PM, Larry Garfield <[EMAIL PROTECTED]>
wrote:
> On Tuesday 10 June 2008, Shelley wrote:
> > Hi all,
> >
> > If you are designing with OO principles, could you give an explanation of
> > what is the difference classes and packages?
> >
> > Several principles talks abou
On Fri, 2008-06-13 at 11:10 +1000, Chris wrote:
> Sebastian Camino wrote:
> > Hello,
> >
> > I want to know what the "#" char does.
>
> In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp).
>
> In php it's used to mark a comment.
>
> # this is a comment and not executed.
Sebastian Camino wrote:
> Hello,
>
> I want to know what the "#" char does.
In a url it's an anchor tag (http://www.w3schools.com/HTML/html_links.asp).
In php it's used to mark a comment.
It means nothing specific in a filename.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
>
> function saveRecord ($db,$POST) {
>$bd = "/absolute_path_to_document_root";
>$fp = "/path_to_files_from_document_root/";
>$ud = $bd . $fp;
> $path = $ud.$file; // absolute path to newly named file
> if ($fail || !$name || !$temp) continue;
> // @unlink
Inside a php script the '#' denotes the beginning of a comment. I don't
know that it has any use at all in the address line. What specifically
is the error?
I'd guess that php would ignore the rest of the line following the '#'
and so this could generate any number of errors depending on what
i
On Thu, Jun 12, 2008 at 8:18 PM, Sebastian Camino
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to know what the "#" char does. On a website I was working at, I
> tried to open a file with a "#" in it's name and I got an error. So I'd
> really appreciate any help to know how to avoid the error and
Hello,
I want to know what the "#" char does. On a website I was working at,
I tried to open a file with a "#" in it's name and I got an error. So
I'd really appreciate any help to know how to avoid the error and
what does the character do.
Thanks a lot
Sebastian
--
PHP General Mailing
On Wed, Jun 11, 2008 at 11:51 PM, Joseph Subida <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I am new to PHP. I found a tutorial that said to copy and paste the code
> into a .php document and open it in my browser:
>
> echo $_SERVER['HTTP_USER_AGENT'];
> ?>
>
> I'm pretty sure PHP is enabled on my comput
On Wed, Jun 11, 2008 at 9:51 PM, Joseph Subida <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I am new to PHP. I found a tutorial that said to copy and paste the code
> into a .php document and open it in my browser:
>
> echo $_SERVER['HTTP_USER_AGENT'];
> ?>
>
> I'm pretty sure PHP is enabled on my comput
Hi.
I am new to PHP. I found a tutorial that said to copy and paste the code
into a .php document and open it in my browser:
I'm pretty sure PHP is enabled on my computer. I've tested code such as:
";
}
echo "My name is ";
writeMyName2("Kai Jim");
echo "My name is ";
writeMyName2("Hege");
On Thu, Jun 12, 2008 at 4:05 PM, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> Nathan Nobbe wrote:
>
>> On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]>
>> wrote:
>>
>> Pavel wrote:
>>>
>>> В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
This may
Nathan Nobbe wrote:
On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
Pavel wrote:
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
This may be of interest (HTML 5 diffences to HTML 4 overview):
what about xHTML? html died few years ago and i
Usamah M. Ali wrote:
On Thu, Jun 12, 2008 at 4:34 PM, Bastien Koert <[EMAIL PROTECTED]> wrote:
PHP does not support threading AFIAK.
He probably meant "threading" as in "forum threads", i.e. topics where
discussions are presented in a threaded way.
I assumed exactly that :)
--
PHP General
On Thu, Jun 12, 2008 at 4:34 PM, Bastien Koert <[EMAIL PROTECTED]> wrote:
>>
>> PHP does not support threading AFIAK.
>
>
He probably meant "threading" as in "forum threads", i.e. topics where
discussions are presented in a threaded way.
Regards,
Usamah
--
PHP General Mailing List (http://www.
On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> Pavel wrote:
>
>> В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
>>
>>> This may be of interest (HTML 5 diffences to HTML 4 overview):
>>>
>>
>> what about xHTML? html died few years ago and i thou
> -Original Message-
> From: Shawn McKenzie [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 12, 2008 11:06 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Command-line PHP memory limit
>
> Per Jessen wrote:
> > Rene Fournier wrote:
> >
> >> Is it possible to set a unique memory li
Per Jessen wrote:
Rene Fournier wrote:
Is it possible to set a unique memory limit for PHP scripts that are
run from the command line? (That is, different from what's specified
in php.ini.)
This might specific to openSUSE, but the typical installation comes with
separate php.inis for apache a
Wei, Alice J. wrote:
Hi, Guys:
Thanks for all of you who helped out, and I can now get this to work, by
installing the PHP into the Linux Fedora box I have. What is odd is that on the
download page of http://www.php.net, it mentioned the following on the
downloads page:
We do not distribu
On Jun 12, 2008, at 8:32 AM, Bastien Koert wrote:
On Thu, Jun 12, 2008 at 7:46 AM, Yashesh Bhatia <[EMAIL PROTECTED]>
wrote:
What about doing it the other way ... submitting the page to a
script
that calls on the pdf creation, yet doesnt leave this script - then
proceed to redirect when
Ok, here is my problem. Using the code below, I am saving a posted form to
a database including the files it contains.
There is one line commented out.. The unlink command. Without the command,
the script works fine and new files
Overwrite the old files when uploaded. If, however, I uncomment
> -Original Message-
> From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 12, 2008 9:02 AM
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] PHP Runs But Does Not Display on Linux
>
> Hello,
>
> I have reinstalled Apache back into my Linux ma
Hi, Guys:
Thanks for all of you who helped out, and I can now get this to work, by
installing the PHP into the Linux Fedora box I have. What is odd is that on the
download page of http://www.php.net, it mentioned the following on the
downloads page:
We do not distribute UNIX/Linux binaries.
Yashesh Bhatia wrote:
What about doing it the other way ... submitting the page to a script
that calls on the pdf creation, yet doesnt leave this script - then
proceed to redirect when that script (pdf) has been completed?
S
steven:
the steps u'r suggesting are
1 - submit form (1.html)
Quoting "Wei, Alice J." <[EMAIL PROTECTED]>:
Hello,
I have reinstalled Apache back into my Linux machine, and placed the code
Test
This is test
into the apache/htdocs folder titled hello.php
When I execute it from the browser using an http:// address
followed by
You are totally in the wrong way.
I would use an tag and onclick property for opening the PDF in popup &
relocating the current page
HTH
Nitsan
On 12/06/2008, Yashesh Bhatia <[EMAIL PROTECTED]> wrote:
>
> Hello:
>
>I'm trying to emulate a problem i'm trying to solve as follows.
>
> 1 - user
Did you install the apache php module? In Ubuntu the package is called
libapache2-mod-php5.
Wei, Alice J. wrote:
Hello,
I have reinstalled Apache back into my Linux machine, and placed the code
Test
This is test
into the apache/htdocs folder titled hello.php
When
Hello,
I have reinstalled Apache back into my Linux machine, and placed the code
Test
This is test
into the apache/htdocs folder titled hello.php
When I execute it from the browser using an http:// address followed by the
IP address and hello.php, I get this pop up m
Hello,
Sorry to brother you but I'm really in a pinch with this problem and I
need to resolve it.
The older Fedora Apache server runs just fine with "DocumentRoot"
pointing to the NFS share. The NFS share is on our OS X file server. The
new CentOS runs fine when "DocumentRoot" is pointing t
tedd wrote:
> For sake of discussion -- why would one want to be specific about
> hosting in the UK? Why not just hosting, regardless of where the host
> is located?
>
> After all, hopefully the site will be accessible globally, right? So,
> why the need for a specific geographical location for a
2 reasons-
1. Google and other search engines return local results and the clients
will all be in the UK
2. It's useful if the host company and the client keep the same office
hours.
Regards,
Colin
Colin Sidwell wrote:
Hi,
We are looking for someone to develop & host a PHP site in the
Pavel wrote:
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
This may be of interest (HTML 5 diffences to HTML 4 overview):
what about xHTML? html died few years ago and i thought is was official..
Oh there are *lots* of discussions about that. Personally I'm sticking
On Thu, Jun 12, 2008 at 5:05 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> Michelle Konzack wrote:
>
>> It should support:
>>
>> 1) PostgreSQL (my own database)
>> 2) MySQL (my current hosting provider offer it only)
>> 3) Threating
>>
> ^
> I don't think yo
On Thu, Jun 12, 2008 at 7:46 AM, Yashesh Bhatia <[EMAIL PROTECTED]> wrote:
> >
> > What about doing it the other way ... submitting the page to a script
> > that calls on the pdf creation, yet doesnt leave this script - then
> > proceed to redirect when that script (pdf) has been completed?
> >
>
We are looking for someone to develop & host a PHP site in the UK.
For sake of discussion -- why would one want to be specific about
hosting in the UK? Why not just hosting, regardless of where the host is
located?
Speed (eg. response time). Technical support hours etc.
After all, hopefull
Off-Topic
At 1:46 PM +0100 6/12/08, Colin Sidwell wrote:
Hi,
We are looking for someone to develop & host a PHP site in the UK.
For sake of discussion -- why would one want to be specific about
hosting in the UK? Why not just hosting, regardless of where the host
is located?
After all, h
Hi,
We are looking for someone to develop & host a PHP site in the UK.
The site is a corporate rewards site that enables users to buy gifts
with with points they have been given by their employer.
URL is here-
http://www.waystoamaze.co.uk/
There are databases of users, companies, products and
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
> This may be of interest (HTML 5 diffences to HTML 4 overview):
what about xHTML? html died few years ago and i thought is was official..
//sorry for my english
--
===
С уважением, Манылов Павел aka [R-k]
icq:
hce wrote:
> What is the best way for a PHP web application to connect to an
> external application written by C in Linux OS?
>
> (1) Can PHP directly call external C functions, or similar solution?
PHP can call external executables via e.g. exec().
> (2) Can PHP pass messages to message queue
>
> What about doing it the other way ... submitting the page to a script
> that calls on the pdf creation, yet doesnt leave this script - then
> proceed to redirect when that script (pdf) has been completed?
>
> S
>
steven:
the steps u'r suggesting are
1 - submit form (1.html) to script (2.
On 12 Jun 2008, at 12:20, hce wrote:
What is the best way for a PHP web application to connect to an
external application written by C in Linux OS?
(1) Can PHP directly call external C functions, or similar solution?
No, but you can wrap the C functions in a PHP extension.
(2) Can PHP pass me
On Thu, 2008-06-12 at 21:20 +1000, hce wrote:
> Hi,
>
> What is the best way for a PHP web application to connect to an
> external application written by C in Linux OS?
>
> (1) Can PHP directly call external C functions, or similar solution?
>
> (2) Can PHP pass messages to message queue which
On Thu, 2008-06-12 at 16:27 +0530, Yashesh Bhatia wrote:
> Aschwin:
>
> Hi i tried
>
> --
> //echo '';
> //echo 'window.location.href="3.html";';
> //echo '';
> header("Location: 3.html");
> exit;
> -
Hi,
What is the best way for a PHP web application to connect to an
external application written by C in Linux OS?
(1) Can PHP directly call external C functions, or similar solution?
(2) Can PHP pass messages to message queue which external C program can access?
(3) Socket connection between t
Hi,
I am assuming that once I install apache, (since now I am assuming that with
a Linux box, I don't need to install PHP), then this would be a web server with
a IP address. I could use something like ipconfig or ifconfig in my case to
find the ip address, which I tried to use yum before to
Aschwin:
Hi i tried
--
//echo '';
//echo 'window.location.href="3.html";';
//echo '';
header("Location: 3.html");
exit;
--
but that did not work :(.
thanks for the tip.
yashesh b
This may be of interest (HTML 5 diffences to HTML 4 overview):
http://www.w3.org/TR/2008/WD-html5-diff-20080610/
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/sftpd
Yashesh Bhatia wrote:
Hello:
I'm trying to emulate a problem i'm trying to solve as follows.
1 - user enters information into a html form and submits
2 - a php script is invoked on the submit and a pdf file is stamped
and made available for download
3 - the script finally redirects the user
Hello:
I'm trying to emulate a problem i'm trying to solve as follows.
1 - user enters information into a html form and submits
2 - a php script is invoked on the submit and a pdf file is stamped
and made available for download
3 - the script finally redirects the user to a thank you html pag
Michelle Konzack wrote:
It should support:
1) PostgreSQL (my own database)
2) MySQL (my current hosting provider offer it only)
3) Threating
^
I don't think you'll have to search too far to find some old code with a
very high level of threat..
:p
The server recieve email from mobile phone.
I would like to retrieve the text of body of mobile phone, which recieve
email from mobile phone email.
Of cource, server run php and is able to use regular expression.
But the email, which is recieved by mobile phone, retrieve text body
on server.
Reg
Shelley wrote:
Probably you have noticed this:
The classes in a package are reused together. If you reuse one of the
classes in a package, you reuse them all.
If that's the case, then why not just use one class as one package?
What's the point of splitting a package into several classes? :-(
56 matches
Mail list logo