-Original Message-
From: Sascha Andres [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 20. Februar 2001 08:25
To: [EMAIL PROTECTED]
Subject: [PHP] XML Parsing - what's wrong?
hi,
i try to parse an xml document.
but the function characterData which should process
the found data is never cal
davidg Mon Feb 19 23:27:41 2001 EDT
Modified files:
/php4/ext/midgard oop.c sitegroup.c
Log:
a few fixes on function mis-behavior.
Index: php4/ext/midgard/oop.c
diff -u php4/ext/midgard/oop.c:1.3 php4/ext/midgard/oop.c:1.4
--- php4/ext/midgard/oop.c:1.3
hi,
i try to parse an xml document.
but the function characterData which should process
the found data is never called.
startElement and endElement are called.
it does not fails opening it and it gets te correct number of
stories.u can have a look on the output at
http://www.programmers-world.n
In article <01022015290505.09282@hermes>,
[EMAIL PROTECTED] (David Robley) wrote:
> According to the docs, "If advancing the internal array pointer results
> in going beyond the end of the element list, next() returns false" so
> when you try an print out the result, you get nothing. And once
On Tue, 20 Feb 2001 17:19, Fabian Fabela wrote:
> > Do I have to have special configuration to use the header function,
> this is because it is not responding.
>
> I use it like this.
>
> header('Location: contrato.html');
>
> Thank you.
>
> Fabian Fabela
> [EMAIL PROTECTED]
> www.vacagorda.com
Do you get an error? Remember that there can be no breaklines before the
start of you php tag ( Do I have to have special configuration to use the header function, this is
> because it is not responding.
>
> I use it like this.
>
> header('Location: contrato.html');
--
Thomas Deliduka
IT Man
On 2/20/01 1:11 AM this was written:
> im making a webdesign website that has a members login, do i have to
> make a member page for each member or can i get the
> info from the database of the person whom logged in and put it on the
> members page
If you create a table in a database that holds
Do I have to have special configuration to use the header function, this is because it
is not responding.
I use it like this.
header('Location: contrato.html');
Thank you.
Fabian Fabela
[EMAIL PROTECTED]
www.vacagorda.com
I think if you echo the error (echo mysql_error();) you will see the exact
error you would get if connected directly to the db.
You can do something like:
$result = @mysql_query($sql_query); // hide any errors
If (!$result) {
echo "Error: " . Mysql_error() . "";
}
On 2/20/01 2:57 AM this wa
On 2/20/01 1:08 AM this was written:
> when poeple sign up to my site, how can i make a code that finds if
> there username is already in the database?
Um... Search for it.
$findit = mysql_query("Select username from usertable where username =
'$inputted_username'");
If (mysql_num_rows($findit)
im making a webdesign website that has a members login, do i have to
make a member page for each member or can i get the
info from the database of the person whom logged in and put it on the
members page
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
when poeple sign up to my site, how can i make a code that finds if
there username is already in the database?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mai
Is it possible to test a user's line speed with PHP?
I have a site with a lot of video. Each clip has the standard
28/56/128 speed choice. I would like to offer the user an interface
where they can test their line speed and get a suggestion on which
file to view.
Any experience ... ideas?
jason Mon Feb 19 21:36:40 2001 EDT
Modified files:
/php4/ext/standard array.c basic_functions.c php_array.h
Log:
Moved the core of in_array into the function php_search_array, which is called by
in_array and search_array (new)
@ Added search_array which
zeevMon Feb 19 21:14:33 2001 EDT
Modified files:
/php4/win32 php4dllts.dsp
Log:
Restore COM.c
Index: php4/win32/php4dllts.dsp
diff -u php4/win32/php4dllts.dsp:1.29 php4/win32/php4dllts.dsp:1.30
--- php4/win32/php4dllts.dsp:1.29 Sat Jan 27 19:40:28
SELECT SUBSTRING(COL3,0,100) AS COL3 FROM TABLE
That will return the first 100 characters of your 10 pages of text...
If you want characters 200 through 299 do:
SELECT SUBSTRING(COL3,200,100) AS COL3 FROM TABLE
Untested, but I am 99.9% sure that will meet your needs.
Brian
>
> hmm...I don`
On Tue, 20 Feb 2001 15:10, Keith Devens wrote:
> Hi, I'm getting some weird behavior from prev() and next(). If anyone
> knows what's going on please let me know. Also, please make sure you
> e-mail me personally in addition to the list.
>
> Anyway, here's the problem. Check out the following code
ahhh... yes... :)
the linux version is much stricter when it comes
to table definitions...
i had the same problem trying to declare an INDEX
for my table too for linux, any key that
you use as an INDEX on a table must be declared
NOT NULL (whereas the win32 port doesnt seem
to care very m
Hi, I'm getting some weird behavior from prev() and next(). If anyone knows
what's going on please let me know. Also, please make sure you e-mail me
personally in addition to the list.
Anyway, here's the problem. Check out the following code:
"; #prints out 1
echo next($arr) . ""; #prints out 2
Hey Guys..
I've been working on installing GD with support for Jpeg. I cannot seem to
get it working in PHP, however. When I try to use it in practice, I get the
following error:
Warning: ImageCreateFromJpeg: No JPEG support in this PHP build
Here's the configure command I used:
./configure
Yes you do.
It comes easier for eyes if you use a database abstraction layer, but still
it's a different query.
Cheers,
Maxim Maletsky
-Original Message-
From: Christian Dechery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 10:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] r
chagenbuMon Feb 19 19:03:22 2001 EDT
Modified files:
/php4/pear/Mail RFC822.php
Log:
use -1 to specify no limit on number of matches.
Index: php4/pear/Mail/RFC822.php
diff -u php4/pear/Mail/RFC822.php:1.2 php4/pear/Mail/RFC822.php:1.3
--- php4/pe
Hello-
Does anybody have any example code for using CyberCash w/o the Merchant
Connection Kit? I'm trying to setup secure credit card transactions on my
site using CyberCash, but my provider doesn't have & won't install the MCK
(no PHP support for it either). I haven't tried installing the M
David - very cool, thanks much for your help!
if any other newbies run into the same problem:
echo "stuff"; //prints "stuff"
echo $string; //prints contents of string, does NOT parse.
include(filename); //whenever encountered, prints contents of file
//parses only if PH
I'm having a real love/hate relationship with PHP's here-doc support.
I love that it spares me from breaking in and out of PHP mode or using echo
and back slashes for outputting largish bodies of dynamic HTML
but I hate a) that the EOT; has to be the first thing on the line and b) I
find
I would like to sum totals for unknown values.
Here is the design
Course names are entered in separate table -- courses
If the course is still being tested the course status = open
This status is stored in the Course table. Each course name is unique
in this table.
Test information including te
On Tue, 20 Feb 2001 11:37, Jaxon wrote:
> Same problem, found it's coming from somewhere else :(
> It looks as if fread or fopen is preventing PHP from from parsing ...
>
> index.php:
>
> $file="test.inc";
> $fd = fopen ($file, "r");
> $string = fread ($fd, filesize ($file));
> fclose ($fd);
> ec
Ok, I've fixed the problem, it seems there's some major differences
between the linux / win32 ports of the client.
instead of
blah integer primary key auto_increment
which works on windows, I used
blah integer not null auto_increment primary key
and now it works... I love computers, I really
Same problem, found it's coming from somewhere else :(
It looks as if fread or fopen is preventing PHP from from parsing ...
index.php:
test.inc:
index.html show a blank html page, with the contents of test.inc visible via
view source...grr. how can I get it to actually parse the PHP?
Nope, I've been using autoincrement on that box for a year or so.
It's not a copy/paste thing, cause I'm getting it when I type the lines
in by hand, too...
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and han
On Tue, 20 Feb 2001 10:57, Josh G wrote:
> Hi, sorry to post this here, but it's driving me crazy. On my local
> machine, the following works no furys:
>
> create table category (category_id integer primary key
> auto_increment,name varchar(255) );
>
> But on the production machine, I get:
>
> ERR
When i use Cc: name@domain it doesnt send any emails if i use CC it gives me
the same result as cc, any other suggestions?
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 11:28 AM
To: Peter Houchin; PHP MAIL GROUP
Subject: Re: [PHP] mail()
I've done this using qmail which is installed on my ISP's server.
I had to set up a qmail file named like this and dropped into my root:
.qmail-allan
Where allan is the email address that the emails are coming into (i.e
[EMAIL PROTECTED])
This file must contain a pipe to the script in this for
Hi, sorry to post this here, but it's driving me crazy. On my local
machine, the following works no furys:
create table category (category_id integer primary key auto_increment,name
varchar(255) );
But on the production machine, I get:
ERROR 1064: parse error near 'auto_increment,name varchar(2
On Tue, 20 Feb 2001 08:52, Peter Houchin wrote:
> > I have a mail script that works fine except that it does not send to
> the CC in my header options... nor will it send to multiple addresses
> can some one please give me some advice on this... I've looked in the
> php manual as well as other we
On Tue, 20 Feb 2001 08:56, Matthew Toledo wrote:
> SUBJECT: Getting values for posted form in HASH array rather than just
> variables.
>
> I've been using perl for a while and am just starting with PHP. I like
> it.
>
> Is there an array that holds all the information that was submitted via
> a F
On Tue, 20 Feb 2001 08:50, Matthew Toledo wrote:
> Hello, I am just starting to use PHP. I have been using PERL for quite
> some time. I was wondering if there is any specific FILE LOCKING I
> need to implement to keep more than one person from altering a text
> file at the same time.
>
> For in
PHP has encountered an Access Violation at 10014D15
What the crap does that mean?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
--
PHP General Mailing List (http://www.php.
I have a complex query, that because of mysql's lack of resources became
twice as big and complex.
I had to create a temporary table and put stuff in it and then select data
from it, cuz 'union' is not available...
but I can't execute the whole script once, can I?
like
$sql="create temporar
To handle sql syntax errors (including, the query, the Line number of the
code and possibly the file name) I came up with this...
define(LN,__LINE__);
$query="bogus query to cause error";
$rslt=mysql_query($query) or query_error(LN,$query); (*)
this one works fine but I have to pass __LINE__ (
> I have a mail script that works fine except that it does not send to the
CC
> in my header options... nor will it send to multiple addresses can some
one
> please give me some advice on this... I've looked in the php manual as
well
> as other web pages but neither have an answer for me.
>
>
ITry searching the drive(s) for the file. I dont know what the deal is, but
I found on my system that the session path specified in the php.ini file
isn't being used, it is using /tmp instead. Might be doing the same thing
for the upload path.
- John Vanderbeck
- Admin, GameDesign
- Origin
php-general Digest 19 Feb 2001 23:59:26 - Issue 522
Topics (messages 40558 through 40666):
Problems with error handling.
40558 by: Securez
40649 by: Richard Lynch
HTTP POST Question
40559 by: Montgomery-Recht, Evan
40563 by: MList
40564 by: Montgomer
Hi guys, I'm having a problem with file uploads, and I can't seem to
fix it. I'm on IIS using php as an ISAPI module on NT4, and file uploads
seem to work, but $userfile does not exist. Any ideas on how I can
fix it?
userfile:\\php8
userfile_name:notes.txt
Cheers,
Gfunk - http
Hi PHPers!
I'm doing a simple page build by:
- reading file.html into $string
- reading variables into $array
and then:
echo (strtr($string, $array);
The file.html held in $string contains some PHP
and file.inc also has some PHP
I'm doing this to assemble the page via little 'modules'.
This
well, i agree about writing some of my own libraries it helps me
get to know the language and the features that i am using better.
Libraries are a "Good Thing", it's just that i've seen loads of people
ask questions (on other lists mostly, since im new here) about things
that they'd know abou
At 05:53 PM 2/19/01 -0800, ..s.c.o.t.t.. wrote:
>there was an awesome article on phpbuilder about buffering output,
>controlling when things got to the browser... so that you could
>set cookies/headers anywhere in your script (or, as he talks about,
>gzip content on the fly beofre outputting it to
there was an awesome article on phpbuilder about buffering output,
controlling when things got to the browser... so that you could
set cookies/headers anywhere in your script (or, as he talks about,
gzip content on the fly beofre outputting it to the browser)
http://phpbuilder.com/columns/argeric
I don't exactly try to reinvent a new and better wheel... I just find that
writing my own libraries makes the site feel like it is more all mine.
- Kath
- Original Message -
From: "Martin A. Marques" <[EMAIL PROTECTED]>
To: "Kath" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday
I'm not sure why/when PHP doesn't like embedded [[]] but it doesn't
sometimes (always?).
You'll need to use a temp variable for $keys[1] and $keys[0] to put into
$HTTP_POST_VARS.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/arti
> php.exe -C myphp.ini -f c:\htdocs\mysite\myscript.php
>
> This works fine, except it doesn't load any extensions (dlls), even if
> myphp.ini is configured to do so. Therefore, It doesn't recognize
functions
> such as mysql_query(). (I'm using an NT platform).
>
> Can any one help?
You want a lo
> I wonder is there a debugging/tracing program for php? THank you
There are.
I prefer the Zend Debugger, but I'm biased. :-)
Take the IDE for a free test drive http://zend.com/store
Honestly, though, the other choices are about a year behind in the
development process as far as the actual debug
Check your php.ini setting of "global_vars"
If you used that php.ini-optimized, well, that was one of the optimizations.
Turn it back on or switch to using $HTTP_POST_VARS['name'] everywhere.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http:/
It's defined behaviour, by Netscape, and you can't turn it off.
You can only validate the inputs you get and send them back if they are
invalid.
NOTE: Requiring the user to "click" on a SUBMIT button rather than hit
Return is *most* annoying to many users. If they don't "click" on SUBMIT,
you
You could do:
header("Location: page2.php");
But you may need to pass some variables such as:
header("Location: page2.php?SESSID=$SESSID");
You'd probably be better of having the error checking at the top of the
second page and sending them *back* to the first page if they got it wrong.
--
Vi
You can't do setcookie and Location: in the same page.
Once they picked a language, set the cookie and return the HTML content for
that home page, don't redirect.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Voluntee
Reading 1 character at a time is killing you.
I don't know how large is quite large, but this should be way faster:
You may still need to add a set_time_limit(30) in the loop if the file is
truly massive...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music?
You'll still need to declare any variables global.
Session variables are not inherently global or otherwise special to a
function.
And that's a feature, not a bug.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volun
> I tried using the code below to send the output to an Excel sheet in my
> browser by changing the header to "Content-type:
application/vnd.ms-excel".
> However I only see normal text in a browser. Excel is not launched. What
is
> wrong??
>
> --
You would direct it to a PHP script the same way you would direct it to a
Perl (or any other) script.
In Un*x, that would be using "procmail" filters.
You now know as much as I do about it.
man procmail
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy
I think maybe ^ has different meaning in a php.ini file, from in a PHP
script...
Try (E_ALL & ~E_NOTICE)
http://www.php.net/manual/en/language.operators.bitwise.php
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Vol
Use \r\n which is spec, and unfriendly mailers from Microsoft won't "embrace
and extend" enough to accept just \n which is Unix-standard.
What a surprise.
Oh -- it won't be HTML email. For *that* you need to send mime attachments.
There are multiple functions to do this in code archives such as
Dear List,
I am trying to advise a client on the feasiblity of using php with an
external SQL server. Has anyone had experience with this? Pros? Cons?
Kathleen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
SUBJECT: Getting values for posted form in HASH array rather than just
variables.
I've been using perl for a while and am just starting with PHP. I like it.
Is there an array that holds all the information that was submitted via a
FORM post or get.
I know that PHP automatically creates variabl
We process a lot of documents, some text, some html,
etc. I need to be able to strip out all characters
below an ascii number and above an ascii number.
Currently I check character by character, above or
below a particular number the character is deleted or
replaced in the new string. Anyone run
I have a mail script that works fine except that it does not send to the CC
in my header options... nor will it send to multiple addresses can some one
please give me some advice on this... I've looked in the php manual as well
as other web pages but neither have an answer for me.
my code is bel
Hello, I am just starting to use PHP. I have been using PERL for quite some
time. I was wondering if there is any specific FILE LOCKING I need to
implement to keep more than one person from altering a text file at the same
time.
For instance, in PERL, you use the flock command to set up an advi
In article <96s2sj$46a$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
("Mike") wrote:
> I get this error Parse error: parse error, expecting `']'' in
> /on this.
>
> $Q= "Update $HTTP_POST_VARS[$keys[1]] Set $updateString Where $keys[0]
> =$HTTP_POST_VARS[$keys[0]]";
Try:
$Q= "Update $HTTP_
I am attempting to compile PHP with Net-SNMP package from Sourceforge
(ucd-snmp-4.2.i386.rh6.2.tar.gz).
configure and make/make install work fine.
starting apache returns:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
libsnmp-0.4.2.so: cannot open shared object file: No su
Sorry, that should be "mysql_insert_id()"
-Szii
- Original Message -
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 2:06 PM
Subject: [PHP] mysql_last_id()
> Why is this broken for BIGINTs? Is there a good reason for it, or has no
>
Why is this broken for BIGINTs? Is there a good reason for it, or has no
one
simply fixed it...?
-Szii
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EM
Mensaje citado por: Kath <[EMAIL PROTECTED]>:
> Why do a lot of people use libraries like PHPLib?
>
> I find it a lot better to write my own basic functions.
>
> Is it just the attitude "Someone else coded it already, why should I?"
Like some said to me "Don't re-invent the wheel"
Saludos...
http://www.netcraft.com/whats/ ?
- Kath
- Original Message -
From: "Jeremy Bowen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 4:36 PM
Subject: [PHP] Determining what kind od software a remote server is running
> Hey,
>
> A while back someone posted a lin
Hey,
A while back someone posted a link to a page where you can enter a url and the
page returns the type of software the remote server is running.
Did anyone save that link?
Thanks,
Jeremy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Why do a lot of people use libraries like PHPLib?
I find it a lot better to write my own basic functions.
Is it just the attitude "Someone else coded it already, why should I?"
- Kath
ASP can 'host' other languages that are designed to be used in ASP.
Currently VBScript and JScript ship with IIS, and PerlScript is available.
PHP is not something which can directly be plugged into the ASP architecture.
Having said that, most of the MS people I know that use ASP ALWAYS
use VBScr
Ok, I removed the (" ") from action and it worked, but it doesnt validate,
just sends to thanks page regardless of whether the fields are filled or
not. Am I mistaking IsSet for handling that?
> Hi,
>
> > ">
> > First Name:
> > Last Name:
> > E-mail Address:
> >
> >
>
> The form should work
I get this error Parse error: parse error, expecting `']'' in
/on this.
$Q= "Update $HTTP_POST_VARS[$keys[1]] Set $updateString Where $keys[0]
=$HTTP_POST_VARS[$keys[0]]";
all my brackets are closed
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
I wanted to check with all of you before I report a bug.
Here is the problem:
I am attempting to access a OS2 server via ftp. When I login on the
command line as anonymous to this server it does not require a password.
When I try to login via PHP (ftp_login) it requires that I use a password.
Humberto:
Sorry it took me a while to repsond...
I'll get some code uploaded to PHPFax.sourceforge.net as soon as
possible.
Be warned, however, that the code is in what I would call 'proof of
concept' state. Meaning it works, but it is far from something that is
easy to install and setup. It
Thank you Tim and Richard. With your help I was able to figure out how to
get this script working as I intended.
Here's the code, in case anyone wants to do something similar in the future.
:-))
$pages=mysql_query("SELECT CP.page_id, pagename FROM cluster_pagetbl as CP,
pagetbl WHERE
CP.cluster_
Make sure there are no lines (except a
yadda yadda yadda etc etc etc
Example that will not work:
yadda yadda yadda etc etc
Hope this helps,
Kath
- Original Message -
From: "Sascha Andres" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 2:38 PM
Subject: [P
Mensaje citado por: Bruno Freire <[EMAIL PROTECTED]>:
> Hi!!
>
> My name is Bruno, From Brazil!!!
>
> I need to know how can i discovery the ip address when somebody access
> my
> home page
>
> What function can I use
Bruno, check the phpinfo() function, which will give you lots of i
Hi! I´d like to run a script by typing the following line at the command
prompt:
php.exe -C myphp.ini -f c:\htdocs\mysite\myscript.php
This works fine, except it doesn't load any extensions (dlls), even if
myphp.ini is configured to do so. Therefore, It doesn't recognize functions
such as mysql_
This is a function I use:
function DateDiff ($Date1, $Date2, $Period) {
/* expects dates in the format d/m/y - period can be one of 'd','w','y','m'
months are assumed to be 30 days and years 365.25 days This only works
provided that both dates are after 1970. Also only works for dates up to the
Mensaje citado por: Evelio Martinez <[EMAIL PROTECTED]>:
>
> Hi!
>
> is there any relation between use of sessions (php 4.0.4) and the
> following browser message ?
>
> Data Missing
>
> This document resulted from a POST operation and has expired from the
> cache. If you wish you can repost
Hi
I wonder is there a debugging/tracing program for php? THank you
Ivo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi guys
I'faced a problem (and was said it is a common one) using php4 with Apache
1.3.12 under win98se
I'm using a form with an
The problem is that I cannot find the $name afterwards in the script. but I
can using $HTTP_POST_VARS["name"]
I have not this problem using Linux.
Any ideas how co
Yo! I was wandering if there is someway to change the setting whether cookies should
be used or not when using session, in the php code rather than in php.ini.
Thankful for answers
/Broder
Use the variable $REMOTE_ADDR. It contains the request ip address.
Jason
- Original Message -
From: "Bruno Freire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 12:34 PM
Subject: [PHP] Help!! IP functions!!!
> Hi!!
>
> My name is Bruno, From Brazil!!!
Hi,
> ">
> First Name:
> Last Name:
> E-mail Address:
>
>
The form should work.
> if(!IsSet($FirstName, $LastName, $Email))
> {
> header("Location: http://www.SITE.com/error.php");
> exit;
> }
> else
> {
> header("Location:
> http://www.SITE.com/thanks.php");
> exit;
> }
> ?>
Th
Hi!!
My name is Bruno, From Brazil!!!
I need to know how can i discovery the ip address when somebody access my
home page
What function can I use
Thanks!!
Bruno.
hi,
when doing a session_start() followed by session_register(...)
before the html header the first call stops with the error
'html header already written'. how can i prevent the html header
to be written until the session_start() is called?
sascha
--
PHP General Mailing List (http://www.php.ne
On Monday 19 February 2001 19:45, Zenith wrote:
> In a self defined function, a one dimension or two dimension array may
> be passed,
> How can I check that, the passed in array is a one dimension array or a
> two dimension array?
Well, actually an array can be both 1-dimensional and 2-dimensiona
On Monday 19 February 2001 22:47, ..s.c.o.t.t.. wrote:
> is there something with the PHP system command that
> makes it unable to spawn nohup background processes
>
> perl and PHP are closely related, so i cant really understand
> how an external perl program would be able to do things that
> PHP
> Hi, I'm about to make a function with two arguments, and I
> want the second one to be optional. Can I just write the function
> and use it with one or two arguments without problems (I check
> if the second argument was passed inside the function).
> Is this OK?
To make the second argument
derick Mon Feb 19 11:20:47 2001 EDT
Modified files:
/php4/ext/standard rand.c
Log:
- Fix for bug 9277, two the same boundaries make sense in some cases
Index: php4/ext/standard/rand.c
diff -u php4/ext/standard/rand.c:1.22 php4/ext/standard/rand.c:1.23
---
Hi, I'm about to make a function with two arguments, and I want the second one
to be optional. Can I just write the function and use it with one or two
arguments without problems (I check if the second argument was passed inside the
function).
Is this OK?
Saludos... :-)
Martin Marques
--
PHP G
I have a php script that I'm writing for taking/passing/reading phone
messages.
I've got a screen where one enters the name of the person leaving the message.
I've found that when the "from_whom" field is active, if the user hits Return,
the form is returned w/o hitting a "submit" button. Is thi
Addressed to: "Zenith" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Zenith" <[EMAIL PROTECTED]> Tue, 20 Feb 2001 02:45:12 +0800
>
> In a self defined function, a one dimension or two dimension array may be
> passed,
> How can I check that, the passed in array is a on
1 - 100 of 201 matches
Mail list logo