The function you are looking for is 'explode'. It works like this, say you
have a line of text stored in line of say pizza topping like this:
$pizza_toppings = "topping1,topping2,topping3"
and now you want the toppings in an array just do this:
$toppings = explode(",", $pizza_toppings);
then you
Use include(); or require();
Brandon Orther
WebIntellects Design/Development Manager [EMAIL PROTECTED]
800-994-6364
www.webintellects.com
-Original Message-
From: Georgie Casey [mailto:[EMAIL PRO
In <000a01c1af5a$dbf70140$73fd883e@laptop>, Hammy wrote:
> Is there any way to suppress or detect when the closing element event
> fires from tags in the form rather than ?
>
no, i don't think so. It means exactly the same in the XML-sense, so why
should there be a difference in reporting it..
On Wed, 2002-02-06 at 15:33, Jeff Sheltren wrote:
> At 10:27 AM 2/6/2002 -0500, Ben Crawford wrote:
> >You also seem to have an extra equals. Your loop should read:
> >
> >while (false != ($file=readdir($handle))){
>
> I think you could eliminate the "false !=" in the while condition...
>
> It s
if you set up the xml_set_character_data_handler(), maybe this isn't called
for , but it will be called for (??)
you might want to check that 'cause I haven't :)
Martin
-Original Message-
From: Christian Stocker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 10:50 AM
To:
include() and require() were suggested, but you may also want to look into
eval(), which parses a string as PHP code and returns the parsed PHP.
Sounds like what you're looking for. (I.e. storing PHP code in a database,
right?)
J
Georgie Casey wrote:
> I want to extract information from a
Hi =)
I saw PHP has built-in support for Cybercash, but that Verisign has
purchased them. It looks like I'll have to go with Payflow Pro, but I'm
wondering if PHP has built-in support, available modules, or what the best
approach is. Any recommendations?
Thanks,
-Ed
***
Hi, has anyone successfully posted an XML data file using the PHP cURL functions? If
so, could you please send an example of the "curl_setopt" function names used.
Thanks in advance
Petras
this is what I'm using:
$ch = curl_init($gat_url); // url to post to
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // contains the XML
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$x = curl_exec($ch);
curl_close($ch);
-
if you created a "number" array then just input number between the brackets:
echo $array_name['some_number_goes_here'];
if you want all array values to print:
for ($i=0;$i<=count($array_name);$i++) {
echo $array_name[$i];
}
if it's an associate array then input the name of the array
Hello, well, here i have my first project and my first problem
i write 2 litlte pages. The error consists that if the first item is not selected,
"receptor.php" dont print nothing
page 1
";
print $articulo[$contador];
print " $ ";
print $precio[$contador];
I know there must be a tone of articles on the subject. Can anyone give me
brief advantages and disadvantages between the 3 languages. Is there
something that one language specifically does that another doesn't?
Could PHP be used for online banking? Usually banks use JSP or ASP, why
don't bank
PHP could be used for online banking. Banks use ASP because there is
software already written in ASP for what they need. Also, they use it
because it's from Microsoft.
Tyler
- Original Message -
From: "Ben Clumeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 0
hi,
i'm fairly new to this.
what i want to do is use a form so the user can specify a few different
choices
of things they want to buy. maybe a few radio buttons with dollar
amounts and
then possibly a couple of quantity fields for items.
this can then be passed to a script and total added up e
On Wed, 2002-02-06 at 17:36, wm wrote:
> hi,
>
> i'm fairly new to this.
>
> what i want to do is use a form so the user can specify a few different
> choices
> of things they want to buy. maybe a few radio buttons with dollar
> amounts and
> then possibly a couple of quantity fields for items.
is there a command in php to post form data to a script?
example:
i have a form. once the submit is hit i use php to check the values. if
the values are ok i then call a function
to post the data.
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
sorry lars. i accidentally just emailed you back instead of posting this.
i want the user to be able to see the amount being charged on the screen, but
not to be able
to view it in a hidden field in the source code. most shopping cart
applications are like this.
??
Lars Torben Wilson wrote:
>
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Obo)
wrote:
> > Sorry, perhaps I've misunderstood. You would like to charge a customer's
> > card without the customer knowing how much you're charging them?
> i want the user to be able to see the amount being charged on the
> screen, but not
I am trying to create a pulldown menu based on the
contents of a directory. Is there any way for PHP to
read a directory and create the menu based on the
files in that directory. It should create this menu
dynamically each time the page is viewed, so if a file
is deleted from that directory, it d
amazon.com
vitaminworld
Cc Zona wrote:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Obo)
> wrote:
>
> > > Sorry, perhaps I've misunderstood. You would like to charge a customer's
> > > card without the customer knowing how much you're charging them?
>
> > i want the user to be able to se
On Wed, 2002-02-06 at 19:35, obo wrote:
> sorry lars. i accidentally just emailed you back instead of posting this.
>
> i want the user to be able to see the amount being charged on the screen, but
> not to be able
> to view it in a hidden field in the source code. most shopping cart
> applicatio
On Thursday 07 February 2002 05:02, Steven Jarvis wrote:
> I've read the manual, and I'm still stuck, partially due to the manual
> itself. This is the first time I've dealt with this particular issue
> (parsing IPTC info from JPEGs).
>
> The example provided in the manual entry on GetImageSize:
>
Hi,
I am trying to upload a file from remote machine.
Could you please help out me.
Thanks in advance
-Balaji
upload.html
-
FileUpload
File:
Hi Balaji,
> I am trying to upload a file from remote machine.
> Could you please help out me.
Two things:
> upload.html
> -
>
This also needs to have a maximum file size specified:
> upload.php
>
In this script, you'll want to copy $file to "/pa
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Wm)
wrote:
> Cc Zona wrote:
>
> > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Obo)
> > wrote:
> >
> > > > Sorry, perhaps I've misunderstood. You would like to charge a customer's
> > > > card without the customer knowing how much you're
Hi all,
Is there any way to get file download time, using php functions?,
if not, could any one help to get it done.
Thanks for sparing your precious time.
Cheers,
- JFK
kishor
Nilgiri Networks
--
PHP General Mailing List (h
On Thursday 07 February 2002 13:19, J.F.Kishor wrote:
> Hi all,
>
> Is there any way to get file download time, using php functions?,
> if not, could any one help to get it done.
If you mean "how long it had taken for someone to download a file from your
site" then yes. You need to handle
Hello everyone,
I'm a "newbie" when it comes to XML. I need to know if there's an
easy-to-understand documentation/tutorial online that will help me
understand how PHP and XML work together, what software technologies
PHP uses to parse XML/XSLT documents, and how to actually build PHP to
have sup
Hello List,
Does anyone know of a Really Good way to determine what kind of loads your
Webserver/network can handle before degrading performance or flaking
out? I would like to find this out about our server before it fails us
under heavy load.
Thanks,
Jason Garber
Univo.biz
--
PHP Gener
I am trying to install MySQL on WinXP, I get the following error message:
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\DOCUME~1\BEN>cd c:\mysql\bin
C:\MYSQL\BIN>mysqld--standalone
'MYSQLD--STANDALONE' is not recognized as an internal or external command,
operable program o
On 20 0, Ben Clumeck <[EMAIL PROTECTED]> wrote:
> I am trying to install MySQL on WinXP, I get the following error message:
>
> Microsoft(R) Windows DOS
> (C)Copyright Microsoft Corp 1990-2001.
>
> C:\DOCUME~1\BEN>cd c:\mysql\bin
>
> C:\MYSQL\BIN>mysqld--standalone
> 'MYSQLD--STANDALONE' is not
Or use such method:
1. create form with $PHP_SELF as action
2. in the beginning of php script check if form was posted and if was check
it for correctness
3. if form is ok, save post data and then redirect user with Header(to
certain page)
4. if form is bad, stay at this script and display both: e
101 - 132 of 132 matches
Mail list logo