I have an app that gets passed in xml and use this code to read that data in
// We use php://input to get the raw $_POST results.
$xml_post = file_get_contents('php://input');
Maybe it will help
Bastien
On Sat, Apr 20, 2013 at 7:48 AM, shiplu shiplu@gmail.com wrote:
Question: how
On Apr 22, 2013 7:00 AM, Bastien Koert phps...@gmail.com wrote:
I have an app that gets passed in xml and use this code to read that data
in
// We use php://input to get the raw $_POST results.
$xml_post = file_get_contents('php://input');
$xml_post is string. I think now you know what to
This will be brief as I'm on a tablet...
On Apr 19, 2013 5:53 PM, dealTek deal...@gmail.com wrote:
On Apr 19, 2013, at 3:32 PM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
page1.php is sending out to credit card company - getting processed -
then coming back to the *same
On Sat, Apr 20, 2013 at 12:51 AM, dealTek deal...@gmail.com wrote:
On Apr 19, 2013, at 3:32 PM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
page1.php is sending out to credit card company - getting processed -
then coming back to the *same page1.php* with the XML data listed
Question: how do you use $mylist when the xml is not as a file but is
returned on a web page?
I assume It returns as a string from page. Then use
simplexml_load_string(). See
http://php.net/manual/en/function.simplexml-load-string.php
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic
A webpage is a file, that (usually) a browser downloads and parses.
You'll do exactly the same :-) I don't know exactly, but you can try to
pass the URL directly to simplexml_load_file(). If this doesn't work,
download the content (for example with file_get_contents()) and pass it to
On Apr 19, 2013, at 1:33 PM, Sebastian Krebs krebs@gmail.com wrote:
A webpage is a file, that (usually) a browser downloads and parses. You'll
do exactly the same :-) I don't know exactly, but you can try to pass the URL
directly to simplexml_load_file(). If this doesn't work, download
On Fri, Apr 19, 2013 at 4:04 PM, dealTek deal...@gmail.com wrote:
On Apr 19, 2013, at 1:33 PM, Sebastian Krebs krebs@gmail.com wrote:
A webpage is a file, that (usually) a browser downloads and parses. You'll
do exactly the same :-) I don't know exactly, but you can try to pass the
URL
On Apr 19, 2013, at 3:32 PM, tamouse mailing lists tamouse.li...@gmail.com
wrote:
page1.php is sending out to credit card company - getting processed - then
coming back to the *same page1.php* with the XML data listed below...
Please expand what you mean by sending out and coming back -
Hi,
Surely there's a wiki/doc somewhere :)
But for the start:
1) plan what exactly you want to accomplish ( functionality )
2) complexity
- if simple, just throw it in one php ( like index.php )
- if more complex, you can separate the pages and/or use classes
3) based on 2),
On 16 August 2011 09:53, Dajka Tamás vi...@vipernet.hu wrote:
Hi,
Surely there's a wiki/doc somewhere :)
But for the start:
1) plan what exactly you want to accomplish ( functionality )
2) complexity
- if simple, just throw it in one php ( like index.php )
- if more
{snip]
...stuff about tedd...
[/snip]
Thank goodness there is someone on the list much older than me.
[snip]
PS: It's not Friday yet.
[/snip]
It is now.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 2:16 AM -0500 1/7/11, Daniel Brown wrote:
On Thu, Jan 6, 2011 at 23:09, Bill Guion bgu...@comcast.net wrote:
Fogging must be a REAL OLD Fashioned term. Please clarify.
It was originally written before man invented the letter 'L', Bill.
No, it was the predecessor to water-boarding.
On Fri, Jan 7, 2011 at 2:33 PM, tedd tedd.sperl...@gmail.com wrote:
At 2:16 AM -0500 1/7/11, Daniel Brown wrote:
On Thu, Jan 6, 2011 at 23:09, Bill Guion bgu...@comcast.net wrote:
Fogging must be a REAL OLD Fashioned term. Please clarify.
It was originally written before man invented
At 8:16 PM -0500 1/5/11, Daniel Brown wrote:
On Wed, Jan 5, 2011 at 19:45, David Harkness
davi...@highgearmedia.com wrote:
[snip!]
Most companies will gladly give their product away to put it in
the hands of soon-to-be-professionals. :)
Tedd had his chance to be professional back in
At 11:37 AM -0500 01/06/11, tedd wrote:
At 8:16 PM -0500 1/5/11, Daniel Brown wrote:
On Wed, Jan 5, 2011 at 19:45, David Harkness
davi...@highgearmedia.com wrote:
[snip!]
Most companies will gladly give their product away to put it in
the hands of soon-to-be-professionals. :)
Tedd
On Thu, Jan 6, 2011 at 23:09, Bill Guion bgu...@comcast.net wrote:
Fogging must be a REAL OLD Fashioned term. Please clarify.
It was originally written before man invented the letter 'L', Bill.
Welcome back, by the way. For someone who only posts once in a
[great[ while, you certainly
At 9:36 PM -0300 1/1/11, Adolfo Olivera wrote:
Hi,
I'm new for php. Just trying to get my hello world going on godaddy
hosting. Can't getting to work. I think sintax it's ok. I was understanding
that my shared hosting plan had php installed. Any suggestions. Thanks,
Happy 2011!!
PS:
At 7:43 PM -0600 1/2/11, Larry Garfield wrote:
On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing php.
A little of topic. Wich IDE are you guys using. I'm sort of in a catch
twenty two here. I been alternating
On Wed, Jan 5, 2011 at 11:32, David Harkness davi...@highgearmedia.com wrote:
I do have to say that NetBeans more than Eclipse will randomly become
unusable for unknown reasons: disk and CPU activity spike, code-completion
lags, whatever. Eclipse seems more solid in this regard.
Whereas,
On 11-01-05 01:35 PM, Daniel Brown wrote:
On Wed, Jan 5, 2011 at 11:32, David Harknessdavi...@highgearmedia.com wrote:
I do have to say that NetBeans more than Eclipse will randomly become
unusable for unknown reasons: disk and CPU activity spike, code-completion
lags, whatever. Eclipse seems
On Wed, Jan 5, 2011 at 10:35 AM, Daniel Brown danbr...@php.net wrote:
On Wed, Jan 5, 2011 at 11:32, David Harkness davi...@highgearmedia.com
wrote:
I do have to say that NetBeans more than Eclipse will randomly become
unusable for unknown reasons: disk and CPU activity spike,
On Jan 4, 2011, at 5:27 AM, Steve Staples wrote:
I now use Komodo (the free version) on my ubuntu workstation, and I love
it... I dont know how I managed before.
I use Komodo Edit on OS X and I love it as well, except for the compare
files feature. It's the worst one I've ever used.
On Wed, Jan 5, 2011 at 3:05 PM, tedd tedd.sperl...@gmail.com wrote:
I spent a couple of hours reviewing PHPStorm and it looks *very* promising!
Thank you for sharing your thoughts on PHPStorm. My main performance gripe
with NetBeans has lessened in the year I've been using it, so I'm less
On Wed, Jan 5, 2011 at 19:45, David Harkness davi...@highgearmedia.com wrote:
[snip!]
Most companies will gladly give their product away to put it in the hands of
soon-to-be-professionals. :)
Tedd had his chance to be professional back in the forties (the
eighteen-forties, I believe).
On Sun, 2011-01-02 at 21:10 -0500, David McGlone wrote:
On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote:
On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing
php. A little of topic. Wich IDE are you
On Sun, 2011-01-02 at 21:10 -0500, David McGlone wrote:
On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote:
On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing
php. A little of topic. Wich IDE are
On 1/2/2011 5:56 PM, Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing php.
A little of topic. Wich IDE are you guys using. I'm sort of in a catch
twenty two here. I been alternating vim and dreamweaver. I'm trying to go
100% open source, but I really
everyone I know who uses dreamweaver does so because the people that are
supervising the project want to use dreamweaver, otherwise I haven't found
anyone who actually liked using it. So I don't know if that actually means
anything but that's the way it is.
I guess it would be important to
Tim,
I've come to learn that relying on heavy and non free ides for
developing can kick you in the rear when you have to setup your developement
enviroment after a while. I've have that problem with some previous projects
made with adobe flex, asp.net and sql 2008.
That's the reason why I'm
On Mon, 2011-01-03 at 10:00 -0500, Mujtaba Arshad wrote:
I just went back and read the original post and realized the recent
discussion has nothing to do with it. Awesome.
Yeah, that happens sometimes! The OP changed the subject this time, so
it should be OK ;)
Also, if you can avoid it,
On Mon, Jan 03, 2011 at 12:03:41PM -0300, Adolfo Olivera wrote:
Tim,
I've come to learn that relying on heavy and non free ides for
developing can kick you in the rear when you have to setup your developement
enviroment after a while. I've have that problem with some previous projects
To: Joshua Kehn
Cc: robl...@aapt.net.au; php-general@lists.php.net
Subject: Re: [PHP] Newbie Question
Sorry, here is the code. The .php extension is a requirement? Can't it b
embedded on a .html file?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD
Olivera [mailto:olivera.ado...@gmail.com]
Sent: Saturday, January 01, 2011 8:38 PM
To: Joshua Kehn
Cc: robl...@aapt.net.au; php-general@lists.php.net
Subject: Re: [PHP] Newbie Question
Sorry, here is the code. The .php extension is a requirement? Can't it b
embedded on a .html file?
!DOCTYPE
On Jan 2, 2011, at 11:48 AM, ad...@buskirkgraphics.com wrote:
Add this to your .htaccess file and HTML files will be handled like PHP
files allowing you put PHP in HTML files.
AddType application/x-httpd-php .html
Richard L. Buskirk
I would not recommend this approach, some perfectly
;
php-general@lists.php.net
Subject: RE: [PHP] Newbie Question
On Sun, 2011-01-02 at 11:48 -0500, ad...@buskirkgraphics.com wrote:
Add this to your .htaccess file and HTML files will be handled like PHP
files allowing you put PHP in HTML files.
AddType application/x-httpd-php .html
On Jan 2, 2011, at 12:50 PM, ad...@buskirkgraphics.com wrote:
The question was The .php extension is a requirement?
The answer is no.
While me and Ash may completely disagree on the php parser, the simple answer
is there are many ways around running a non .php extension file in php.
On Sun, Jan 2, 2011 at 12:16 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Sun, 2011-01-02 at 11:48 -0500, ad...@buskirkgraphics.com wrote:
Add this to your .htaccess file and HTML files will be handled like PHP
files allowing you put PHP in HTML files.
AddType
On Jan 2, 2011, at 1:17 PM, Adam Richardson wrote:
I tend to disagree with Ashley on this topic. For many websites, I'll start
out making all pages .php, even if they don't require PHP at the moment.
That's for a couple reasons.
1) A few years back, there was certainly a significant
Thanks for the replies. I'll just put a php on all my html containing php.
A little of topic. Wich IDE are you guys using. I'm sort of in a catch
twenty two here. I been alternating vim and dreamweaver. I'm trying to go
100% open source, but I really find dreamweaver easier to use so far.
El ene
On Jan 2, 2011, at 5:56 PM, Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing php.
A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty
two here. I been alternating vim and dreamweaver. I'm trying to go 100% open
source, but
On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing php.
A little of topic. Wich IDE are you guys using. I'm sort of in a catch
twenty two here. I been alternating vim and dreamweaver. I'm trying to go
100% open
On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote:
On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote:
Thanks for the replies. I'll just put a php on all my html containing
php. A little of topic. Wich IDE are you guys using. I'm sort of in a
catch twenty two here. I
On Jan 1, 2011, at 7:36 PM, Adolfo Olivera wrote:
Hi,
I'm new for php. Just trying to get my hello world going on godaddy
hosting. Can't getting to work. I think sintax it's ok. I was understanding
that my shared hosting plan had php installed. Any suggestions. Thanks,
Happy 2011!!
Joshua Kehn wrote:
On Jan 1, 2011, at 7:36 PM, Adolfo Olivera wrote:
Hi,
I'm new for php. Just trying to get my hello world going on godaddy
hosting. Can't getting to work. I think sintax it's ok. I was
understanding that my shared hosting plan had php installed. Any
suggestions.
On Jan 1, 2011, at 7:50 PM, David Robley wrote:
And normally would need to be saved as a .php file so the contents will be
handled by php.
Cheers
--
David Robley
A fool and his money are my two favourite people.
Today is Boomtime, the 2nd day of Chaos in the YOLD 3177.
Save the
Sorry, here is the code. The .php extension is a requirement? Can't it b
embedded on a .html file?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=
http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type
On Jan 1, 2011, at 8:37 PM, Adolfo Olivera wrote:
Sorry, here is the code. The .php extension is a requirement? Can't it b
embedded on a .html file?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
Did you mean to say That is a method call.?
Bob McConnell
-
From: Joshua Kehn
That is a function call. In Java:
class Code
{
public static void function do_command(){ }
}
Code.do_command();
Regards,
-Josh
Joshua Kehn |
Bob-
Yes, yes I did.
And note that my Java code is incorrect, that should simply be public static
void, no function.
This is what I get for taking a week to code everything in Node.js.
Regards,
-Josh
Joshua Kehn | josh.k...@gmail.com
It's object oriented code. $code is an instance of class, and do_command() is a
method if that class. I'd advise reading up on oop php.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Adam Williams adam_willi...@bellsouth.net
Date: Fri, Sep 10, 2010 19:27
Subject:
Node.js, wouldn't that be javascript rather than java? :P
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Joshua Kehn josh.k...@gmail.com
Date: Fri, Sep 10, 2010 19:32
Subject: [PHP] newbie question about code
To: Bob McConnell r...@cbord.com
Cc: Adam Williams
Ash-
Correct, hence my typo and nomenclature slip. ;)
Regards,
-Josh
Joshua Kehn | josh.k...@gmail.com
http://joshuakehn.com
On Sep 10, 2010, at 2:48 PM, a...@ashleysheridan.co.uk wrote:
Node.js, wouldn't that be javascript rather than java? :P
At 2:27 PM -0400 9/10/10, Joshua Kehn wrote:
Adam-
That is a function call. In Java:
class Code
{
public static void function do_command(){ }
}
Code.do_command();
Regards,
-Josh
Not just Java, but does I've seen this in several languages.
Javascript is one. But realize that Java is
This is what I get for taking a week to code everything in Node.js.
It is a Friday, so I'll let my curiosity get the best of me and ask a
follow-up on something non-PHP. What insights/impressions do you have
regarding Node.js after a week of working with it?
Thanks,
Adam
--
Nephtali:
I would check this out to give you a decent understanding of php's oop.
http://php.net/manual/en/language.oop5.php
Chris.
On Fri, Sep 10, 2010 at 2:27 PM, Adam Williams
adam_willi...@bellsouth.netwrote:
I'm looking at someone's code to learn and I'm relatively new to
programming. In the
Adam-
It is unique. I'm writing code that really can't be done any other way. How it
handles events, sockets, etc is exceptional. The best part is everything now is
JavaScript. The server (Node.js) is written in JavaScript. MongoDB is
JavaScript. The frontend used to manage the WebSocket is
On Fri, Sep 10, 2010 at 3:03 PM, Joshua Kehn josh.k...@gmail.com wrote:
Adam-
It is unique. I'm writing code that really can't be done any other way. How
it handles events, sockets, etc is exceptional. The best part is everything
now is JavaScript. The server (Node.js) is written in
On 31 March 2010 05:45, Matty Sarro msa...@gmail.com wrote:
That explains it perfectly, thanks you!
On Wed, Mar 31, 2010 at 12:40 AM, Tommy Pham tommy...@gmail.com wrote:
On Tue, Mar 30, 2010 at 9:22 PM, Matty Sarro msa...@gmail.com wrote:
Hey all!
This is probably my second post on the
After looking up the === operator, I see exactly what you mean. Thanks for
your help everyone. I think the confusion was that I was always under the
impression that assignment is either true or false; I would never have
guessed it was equal to the value assigned. Your examples really helped to
On Tue, Mar 30, 2010 at 9:22 PM, Matty Sarro msa...@gmail.com wrote:
Hey all!
This is probably my second post on the list, so please be gentle. Right now
I am running through the Heads First PHP and MySQL book from O'Reilly.
It's been quite enjoyable so far, but I have some questions about
That explains it perfectly, thanks you!
On Wed, Mar 31, 2010 at 12:40 AM, Tommy Pham tommy...@gmail.com wrote:
On Tue, Mar 30, 2010 at 9:22 PM, Matty Sarro msa...@gmail.com wrote:
Hey all!
This is probably my second post on the list, so please be gentle. Right
now
I am running through
I pasted your example in and it doesn't work for me (again, newbie). I will
play with it and see if I can get it working. My main goal is to have
Ruby-like URL's vs ?var=3425. Is this possible with .php (without
mod_rewrite / something in the http server?)
Thanks,
Ethan
On Wed, Jun 18,
but on a personal level I think it's one of
the better MVCs about.
Bob.
-Original Message-
From: Ethan Whitt
Sent: 19 June 2008 17:19
To: Nathan Nobbe
Cc: php-general@lists.php.net
Subject: Re: [PHP] Newbie Question: How to pass URL info to .php script ?
I pasted your example
Ethan,
you can try this:
$url = www.test.com/article/3435;
echo basename($url);
another solution is that you can use explode() function to seprate your url
from '/' or you can use regex to parse your url
- Jignesh
On Thu, Jun 19, 2008 at 8:18 AM, Ethan Whitt [EMAIL PROTECTED]
wrote:
I pasted
On Thu, Jun 19, 2008 at 1:28 AM, Bob [EMAIL PROTECTED] wrote:
Have you tried CodeIgniter http://www.codeigniter.com?
Not as restrictive as many MVC frameworks and very easy to work with.
What you wish to achieve can be done with one line.
$myvar = $this-uri-segment(2);
right, and if you
On Thu, Jun 19, 2008 at 1:18 AM, Ethan Whitt [EMAIL PROTECTED]
wrote:
I pasted your example in and it doesn't work for me (again, newbie). I
will play with it and see if I can get it working. My main goal is to have
Ruby-like URL's vs ?var=3425. Is this possible with .php (without
You could just use an apache (or other web server) alias:
www.test.com/article - www.test.com/article.php
where article.php uses:
?php
$uri_vars = explode('/', $_SERVER['PATH_INFO']); foreach ($uri_vars as
$var)
if ($var != )
echo $var . br;
?
On Wed, Jun 18, 2008 at 10:45 PM, Ethan Whitt [EMAIL PROTECTED]
wrote:
Not sure how to achieve this. How can I grab a portion of a URl to send to
a .php script in this fashion?
www.test.com/article/3435 - Grab the 3435 to process in a script?
take a look at the $_SERVER superglobal
Daniel Brown has written on 4/16/2008 5:20 PM:
On Wed, Apr 16, 2008 at 5:14 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
Why do I need both from_addr and field_4 (Email Address)? Could I just use
$from = $_POST['field_4']?
Sorry, I noticed it after I started rewriting the form
On Thu, Apr 17, 2008 at 12:17 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
[snip!]
OK. Here's what I have now for processor.php:
?php
//
$where_form_is=http://.$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),/));
$where_form_is =
Daniel Brown has written on 4/17/2008 12:29 PM:
I'll reiterate:
Note the mail() parameters. There's no header information there.
RTFM: http://php.net/mail
You just have your mail() function wrong. Reiterating my code as
well (with updated field_4 data):
?php
On Thu, Apr 17, 2008 at 12:37 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
OK. I don't see a mail() in your code. Would it be
mail($to, $subject, $body, $headers);
?
Entirely my fault, Pete. I'm a moron sometimes. Could've sworn
it was in there. Sorry about that.
Yes, you've
Ooops!
processor.php is now:
?php
$where_form_is =
http://.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF'])./;
$to = [EMAIL PROTECTED],[EMAIL PROTECTED];
$subject = SUBSCRIBE;
//$from = $_POST['field_4']; == this was the culprit
$body = Form data:
Name: .$_POST['field_1'].
On Thu, Apr 17, 2008 at 12:50 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
1E6 thank yous!!
My TI SR-10 couldn't handle that calculation and blew up in my hand. ;-P
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
On Wed, Apr 16, 2008 at 3:53 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
I wanted a form for people in my community to use to subscribe to a yahoo
group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator from
SourceForge.
It works fine except that the email
Daniel Brown has written on 4/16/2008 4:04 PM:
On Wed, Apr 16, 2008 at 3:53 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
I wanted a form for people in my community to use to subscribe to a yahoo
group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator from
On Wed, Apr 16, 2008 at 4:39 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
The entire processor.php file is:
?php
$where_form_is=http://.$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),/));
mail([EMAIL PROTECTED],[EMAIL PROTECTED],SUBSCRIBE,Form
data:
Name: .
Daniel Brown has written on 4/16/2008 4:56 PM:
On Wed, Apr 16, 2008 at 4:39 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
The entire processor.php file is:
?php
$where_form_is=http://.$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),/));
mail([EMAIL PROTECTED],[EMAIL
On Wed, Apr 16, 2008 at 5:14 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
Why do I need both from_addr and field_4 (Email Address)? Could I just use
$from = $_POST['field_4']?
Sorry, I noticed it after I started rewriting the form processor,
and then forgot to edit the email accordingly.
On Mar 19, 2008, at 5:13 PM, George J wrote:
Hi Jason,
Hope this helps -
my 'display_products.php' script
--
form method='post' action='display_products.php'
...
input type='hidden' name= 'query' value=$query
input type='submit' Value='Go'/td
...
// pagination routine
conditional
Thiago Pojda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the query again add
Im not sure I understand the question.
Pass control from index.php to welcome.php ???
index.php : ? echo form action=welcome.php method=postinput type=hidden
name=tagme value=yesinput type=submit value='Continue'/form; ?
welcome.php ? if($_POST['tagme'] == yes){
echo Congrats you are
Yes, let me try to say more about exactly what I'm trying to do. I have
a php script running in a browser window (opened specifically for this
purpose) in which the user keys a blog item, then hits 'submit.' After
this script has successfully added the new blog item to the database,
what I'd
On Thu, Mar 20, 2008 at 12:37 PM, Rod Clay [EMAIL PROTECTED] wrote:
Yes, let me try to say more about exactly what I'm trying to do. I have
a php script running in a browser window (opened specifically for this
purpose) in which the user keys a blog item, then hits 'submit.' After
this
George J wrote:
Thiago Pojda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the
Hi Shawn,
My query code-
---SQL query construction block
$query = SELECT * FROM prods ;
if($catagory != 0){
//
if category != 0
$where=WHERE c = $catagory ;
if ($manu != 0){ //
check
manu != 0
On Thu, Mar 20, 2008 at 12:08:39PM -0400, Rod Clay wrote:
Hello. I am new to php programming, but have spent many years
programming in many other languages, most recently perl (with which
php seems to have much in common!). In every other language I've
worked with there is a way for one
At 12:08 PM -0400 3/20/08, Rod Clay wrote:
Hello. I am new to php programming, but have spent many years
programming in many other languages, most recently perl (with which
php seems to have much in common!). In every other language I've
worked with there is a way for one program to pass
On Mar 20, 2008, at 12:05 PM, George Jamieson wrote:
Hi Philip,
Hope you don't mind me sending this to you direct. Thanks for the
answer
but... I'm sorry I don't follow you.
My form sets up the query parameters. It works.
My pagination code passes the page no. It works.
What it doesn't
On Wed, Mar 19, 2008 at 3:47 PM, George J [EMAIL PROTECTED] wrote:
Hi,
I have a script that contains a form and a pagination routine that calls
itself. I want to pass an sql query along with some other variables to the
called script. The code to acheive this, using the form, is working but
On Wed, Mar 19, 2008 at 3:47 PM, George J [EMAIL PROTECTED] wrote:
Hi,
I have a script that contains a form and a pagination routine that calls
itself. I want to pass an sql query along with some other variables to the
called script. The code to acheive this, using the form, is working but
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware of all
the possible avenues that this method might open up. It just feels
On Wed, Mar 19, 2008 at 4:45 PM, George J [EMAIL PROTECTED] wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware
On Mar 19, 2008, at 4:45 PM, George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it
gives
the table and field names used in my database. I'm not really aware
of all
the possible
George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware of all
the possible avenues that this method might
Hi Shawn,
Shawn McKenzie [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it
gives
the table and field names used in my
my point was: date() doesn't work - it's Date() (at least in Firefox)
tedd-2 wrote:
At 2:13 PM -0500 11/15/07, Jeremy Mcentire wrote:
On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote:
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For
At 8:21 AM -0800 11/16/07, Jürgen Wind wrote:
my point was: date() doesn't work - it's Date() (at least in Firefox)
Wow, you really have that capitalization thing
down -- you're an impressive Wind.
I used small case because this is a php list and
I didn't want to confuse anyone with trying
tedd-2 wrote:
I used small case because this is a php list and
I didn't want to confuse anyone with trying to
get Date() to work in php.
no need to worry, in *php* functions are not case sensitive.
cheers
Jürgen
--
View this message in context:
1 - 100 of 379 matches
Mail list logo