could anybody help me out, while compiling and Making PHP
its going fine, but I couldn't get any php binary file instead a
file named 'libphp4.la' was created.
I want to compile it as a standalone binary as a normal
user.
Thanks in Advance.
<[EMAIL PROTECTED]>
-
A real newbie would be grateful for some help.
I have a sports club membership database (Mysql) with first and last names,
address and paid or not paid.
In edit.php I would like to be able to pre-fill a list box with whether the
person has paid or not, change if necessary, update the database
and
On Tue, Mar 12, 2002 at 05:42:12PM +0800, Jason Wong wrote:
> On Tuesday 12 March 2002 12:27, Analysis & Solutions wrote:
>
> The source of the data *does* matter. That is why the latest releases of
> PHP (> 4.0.6) recommends having register_globals OFF by default.
> ... snip snip snip ...
> To s
In article <000701c1cb06$3b54f3b0$0101a8c0@nightengale>,
[EMAIL PROTECTED] says...
> Hello,
>
> How can I get the number of the current row, something like this:
>
> $sql = mysql_query("SELECT * FROM table ORDER BY id DESC");
> while ($row = mysql_fetch_array($sql)) {
> $id = $row["id"];
>
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Im trying to take this string, "hello", and explode it into an array
> with each cell in the array containing one character.
>
> $array[0] = 'h'
> $array[1] = 'e'
> etc..
>
> How does this work? When is use...
>
> $character = explode
If you use the get method, it will pass the variables in the query string.
if you use post it will pass them in the server variable. Either way, you
can reference them via the form name on the first page.
For example:
On the first page you have a field with the name: subject1 ().
The user submi
On first page, there is a form where
User must select choice from Subject1 (mandatory)
User may select choice from Geographic Area (optional)
When you click on Go, you go to Results page where there will be
instructions for PHP:
Search database where Subject1=$subject1 OR Subject2=$subject1 AND
Not to but in, but you might want to check on your version. www.php.net
published an advisory on a possible flaw on that very issue:
http://www.php.net/release_4_1_2_win32.php
http://security.e-matters.de/advisories/012002.html
Leif K-Brooks wrote:
> I have a script that allows the user to uplo
>looks good to me - only screwy thing I can think of is the backslash thing -
>REALLY annoying - and confusing sometimes
Yeah, no kidding. Thanks Martin!
What about if I try copying $to_path onto a Network server?
Do you see any problems with the code and $to_path?
(Not that I have a serve
Use two rand()'s.
$foo = rand(2);
if ($foo == 0)
rand(first_set);
else
rand(second_set);
Niklas
-Original Message-
From: Jeff Sittler [mailto:[EMAIL PROTECTED]]
Sent: 14. maaliskuuta 2002 7:50
To: [EMAIL PROTECTED]
Subject: Re: [PHP] rand()
the min and max would wor
Just do the obvious:
$rand = rand(33,111);
$num = ($rand>90) ? $rand+35 : $rand;
On Wed, 13 Mar 2002, Jeff Sittler wrote:
> I am wanting to use rand() to generate a number between 33-90 OR 125-146.
> Is there a way to do this? I don't want any numbers before 33 or between
> 91-124 or
the min and max would work if I wanted the number between 33 and 146, but I
am wanting to specify two ranges, not just one.
Please RTFP
Jeff
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thursday 14 March 2002 13:31, Jeff Sittler wrote:
> > I am wanting to use
$n = rand(33, 112);
if ($n > 90) $n += 34;
not tested in code, but logically, this should work
Martin
-Original Message-
From: Jeff Sittler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 4:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] rand()
I am wanting to use rand() to gene
And I just realized how redundant the checks for less then and grater
then the rand min and rand max are...
Oh well... I'm tired :)
-Original Message-
From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 9:45 PM
To: 'Jeff Sittler'; [EMAIL PROTECTED]
Subje
Something to the effect of
$num=0;
do {
$num=rand(33,146);
if ( $num > 90 && $num < 125 ) {
$num=0;
} else if ( $num > 146 || $num < 33 ) {
$num=0;
}
} while ( $num == 0 );
note: ths is just off the top of my head... check for va
looks good to me - only screwy thing I can think of is the backslash thing -
REALLY annoying - and confusing sometimes
Martin
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 4:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Double slash
On a
On Thursday 14 March 2002 13:31, Jeff Sittler wrote:
> I am wanting to use rand() to generate a number between 33-90 OR 125-146.
> Is there a way to do this? I don't want any numbers before 33 or between
> 91-124 or after 146. Could someone point me in the direction I need to
> look to accompli
On a windows server,
echo getcwd()."";
gives me:
C:\WINDOWS\Bureau\php\microweb
How do I double slash it? Is this ok:
$test_path = getcwd()."\\test1\\";
echo $test_path;
It seems ok, when I echo it? Any screwy Windows thing I need to know
about?
John
--
PHP General Mailing List (http://w
I am wanting to use rand() to generate a number between 33-90 OR 125-146.
Is there a way to do this? I don't want any numbers before 33 or between
91-124 or after 146. Could someone point me in the direction I need to look
to accomplish this.
Thanks,
Jeff
--
PHP General Mailing List (http:
So I just declare at the beginning:
if(!is_dir($to_path))
mkdir($to_path, 0777);
The code works. But how can I make sure $from_path exists first and fails if
not?
Same thing?
if(!is_dir($from_path))
{
echo "failed";
exit;
}
The first time I ran it, I ran it with a non-existing $from_path direc
That'd depend upon who owns the directory and what user your web server is
running as.
If the folder, or directory is owned by the user the server is running as
then the permissions should be OK. Due to your error message I'd guess they
don't have write access.
Permissions of 766 might be enough
On Thursday 14 March 2002 11:37, jtjohnston wrote:
> You might have seen a version of this function:
>
> http://www.php.net/manual/en/function.copy.php
>
> I would like to rework this line:
>
> mkdir($to_path, 0777);
>
> where mkdir will ignore $to_path if
> the directory already exists.
I have a script that allows the user to upload a file. Right now, though,
it says permission denied when I try to upload. The permissions for the
folder I want to upload to is 755 right now. What should I change it to?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Announcing a couple of PHP scripts that I think have been a long time in
coming ...
validateEmail - 2.0
A much needed updating of the validateEmail function created in '98 by Jon
S. Stevens, and updated by Shane Gibson, berber, and Frank Vogel over time.
Several new features have been added, inc
If the webserver is Apache you can do this:
ServerName myserver.mydomain.org
DocumentRoot /usr/local/www/myserver
Action php-parse /path-to/script.php
Action php-parse /path-to/script.php
SetHandler php-parse
SetHandler "application/x-httpd-php"
*Every* request (whether the file
hmmm, I never thought of that. Thanks for the help. ;-)
Tyler
- Original Message -
From: "michael kimsal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Tyler Longren" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 9:57 PM
Subject: [PHP] Re: Ge
just use $string{0} and $string{1} , etc.
note the type of brackets
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 2:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] explode() - quick question
Im trying to take this string, "hello", and exp
Tyler Longren wrote:
> Hello,
>
> How can I get the number of the current row, something like this:
>
> $sql = mysql_query("SELECT * FROM table ORDER BY id DESC");
> while ($row = mysql_fetch_array($sql)) {
> $id = $row["id"];
> $name = $row["name"];
> print "$current_row_number. $n
On Wed, Mar 13, 2002 at 10:06:01PM -0500, Phil Schwarzmann wrote:
>
> $array[0] = 'h'
> $array[1] = 'e'
>
> $character = explode('', $string) or
You need to explode the array:
$character = explode('', $array);
--Dan
--
PHP scripts that make your job easier
You might have seen a version of this function:
http://www.php.net/manual/en/function.copy.php
I would like to rework this line:
mkdir($to_path, 0777);
where mkdir will ignore $to_path if
the directory already exists. I have already tried this:
#if(!mkdir($to_path, 0777))
# {mkdir($
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi gang-
>
> I am working on a javascript box that will allow the user to drag values
> from one select box to another. I will use this box to set the values.
> This is a standard, multiple select box. On the next page I need to
> f
In article <01C1CA7C.C4DA97A0@P01>, [EMAIL PROTECTED] says...
> Hello List,
>
> I'm trying aroung to split the header and the body of an email but
> can't get it to work.
>
> First I read in the email:
>
> $fp = fopen("php://stdin","r");
> $count = 0;
> while (!feof($fp))
> { $data = fgets($f
Hi,
I am connecting to LinkPoint for accepting credit card. They gave me this
instruction :
--
BELOW IS A COPY OF YOUR DIGITAL CERTIFICATE: Your ISP requires a digital
certificate to complete the setup of your website in order for you to
begin accepting credit card payments. A cop
Hi all,
I am no DHTML expert and don't even know the language also didn't know where
to post this. But after today I am going to learn.
I downloaded a tetris game from Dynamic Drive:
http://www.dynamicdrive.com/dynamicindex12/tetris/index.htm
Have a look. I would add it here but it's too long.
Im trying to take this string, "hello", and explode it into an array
with each cell in the array containing one character.
$array[0] = 'h'
$array[1] = 'e'
etc..
How does this work? When is use...
$character = explode('', $string) or
$character = explode($string)
...it doesn't seem to work
Hello,
How can I get the number of the current row, something like this:
";
}
?>
I can't just use the id field, because the ID's might not always be 1, 2, 3,
4, 5, 6, etc...they could go 1, 2, 4, 5, 8.
I need it to look like this:
1. first person
2. second person
3. third person
and so on and
I've checked google and the PHP manual, with no results,
so i thought i'd ask here:
Is there any functionality in PHP to allow a function to
find out what function/file/line called it? AFAIK, perl
can do this, and i've always found it a big help when
debugging to have functions die with a call t
- Original Message -
From: "Analysis & Solutions" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 8:36 AM
Subject: Re: [PHP] Targetted redirection?
> On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel wrote:
>
> > I have that kind of problem
On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel wrote:
> I have that kind of problem before, but it whould be much better to use
> javascripts rather than the HTTP Header function when redirecting to cover
> over the frame page. Use this instead:
>
> echo"top.location.href=http://your
Hi!
Do you have a primary key field in the table? If yes, you can after
displaying the first 10 records you can put the primary key values of those
records in an array and have "primary_key_fiels NOT IN
(array_values_seperated_by_commas)" in your quesry.. So when you display
your first page with 1
Pass along a hidden form which documents exactly what rows have already
been shown
then you could use
$seen=explode(':', $seen); to break it into an array...
after that use a foreach to add a 'and id != '.$seen into the sql query
for every element in $seen... thus not allowing duplicates on
You can't send use setcookie after headers have been sent to the browser,
you can have white space in a php block because this is not sent to the
browser. The exception is if you have output buffering enabled.
Jason
From: qartis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 5:14 P
do you have to delete cookies on the same level (directory) you created
them? coz mine dont seem to be deleting
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
***
http://www.filmfind.tv
Ireland's Online Film Production Directory
***
--
PHP General
could you perhaps do the select on the first page, then store the results in
a session (array) and just load different indexed portions of the resultset
each page?
only problem there is that you wouldn't get any refreshed results while
browsing those pages - but i don't know if this matters for y
yea, i know how to display 10 results per page, but that doesnt work when
you want to do a ORDER BY rand() query.
"Gurhan Ozen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> are you just looking for a way to display 10 results per page? If yes
then
> you can
I don't think you can have an empty line (even in the php) before cookies
are set
"Frank Ramsay" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Cookies have to be set before the block begins.
>
> -fjr
>
> Bob wrote:
>
> > here is the example:
Ben,
I have that kind of problem before, but it whould be much better to use
javascripts rather than the HTTP Header function when redirecting to cover
over the frame page. Use this instead:
echo"top.location.href=http://your.page.direction; ";
I've already tried and using this kind of redirect
I'm trying to get all requests from a DOMAIN to go through one file,
something like:
http://www.mydomain.com/all_accesses.php
They can come IN as http requests of:
http://www.mydomain.com/any_directory/any_filename?any_vars with any
POST or COOKIE vars.
Anyone have any ideas? I'm trying to mak
I get the error:
Fatal error: Only variables can be passed by reference in
/home/tanguay/test/testxslt.php on line 7
when I run this code:
\n";
print "\n";
print $result;
print "\n";
}
else {
print "Sorry, sample.xml could not be transformed by sample.xsl into";
print " the
I am having a hard time
finding recent mentions of
using MCAL or ICAP with PHP.
I need to add some shared
calendaring to an project I am
working on. I have been
looking at MCAL and ICAP
hoping to find out if they are
viable.
Is the best way to do
calendaring in PHP to use a
database or is there
You can do it by modifying the setting of your HTTP server.
But if you want to do it by PHP, write
header("Location; http://www.boo.com/v2";);
in your PHP script of http://www.boo.com/index.php.
Regards ,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top
--
PHP Gen
Hi there, I have recently finished a redesign of a website which I have =
put in the directory "v2".
If I get someone going to http://www.boo.com is it possible to =
automatically redirect it to http://www.boo.com/v2 and so on?
Basically I need the basehref to be http://www.boo.com/v2 NOT =
http
Hi gang-
I am working on a javascript box that will allow the user to drag values
from one select box to another. I will use this box to set the values.
This is a standard, multiple select box. On the next page I need to
figure out what PHP is doing with the data coming in.
If I send 5 field
I'm adapting some ecard code for my site so that users can save the position
of various objects within my flash movie. At the moment I create a random
file name for the text file which is saved to my server. The user is sent
an email saying to go to this.swf?theinfo=randomtextfile.txt. The info
On Wed, Mar 13, 2002 at 03:52:42PM -0500, Erik Price wrote:
>
> On Wednesday, March 13, 2002, at 03:15 PM, Ben Cheng wrote:
>
> >However, I don't want the redirection to take place just within that
> >frame
> >set. I want the page that it redirects to to cover over the frame. Is
> >this
> >
Hi, does anyone know of a simple banner ad rotation script that can rotate
animated gifs.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday, March 13, 2002, at 01:58 PM, Anas Mughal wrote:
> http://www.devshed.com/Server_Side/XML/XSLTrans/print
Actually, that's the very tutorial that led me to ask about installing
with XSLT configure parameters. I'm building it now, as I write this.
But I was wondering about some
In <[EMAIL PROTECTED]>, Samuel Ottenhoff wrote:
> It is good that you are looking into classes and functions. The
> concept you are missing is that of "returning" a result.
>
> At the end of your function mysql_query, add a line:
>
> return $result;
>
> Then, when you call that function, m
Some browsers (IE I think) understand a "Window-target: targetname"
header. I don't think it works very reliably nor do I remember exactly
what versions, but if you search for "Window-target" you might find some
more info.
I'd go the javascript route if you can or find another solution...
On We
If you were going to use javascript to do that, use _parent as the target --
that should reuse the window rather than making a new window.
-Joe
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Wednesday, March 13, 2002, at 03:15 PM, Ben Che
On Wednesday, March 13, 2002, at 03:15 PM, Ben Cheng wrote:
> I have a page within a frame that uses Header() to redirect to another
> page.
> However, I don't want the redirection to take place just within that
> frame
> set. I want the page that it redirects to to cover over the frame. Is
On Wed, 2002-03-13 at 11:06, Malte Hübner wrote:
> Hi!
>
> I've got a little Problem with my ErrorHandler.
>
> set_error_handler('ErrorHandler'); is executed on top of my script. Right
> after it the ErrorHandler function.
>
> After the ErrorHandler function there is a require('foo.php');
>
>
I have a page within a frame that uses Header() to redirect to another page.
However, I don't want the redirection to take place just within that frame
set. I want the page that it redirects to to cover over the frame. Is this
possible?
-Ben
--
PHP General Mailing List (http://www.php.net/)
In article <[EMAIL PROTECTED]>, Jennifer Downey wrote:
>
>
>
you've got the "Name" attribute attached to the wrong INPUT element:
> if($guess = = $number) {
>
incorrect syntax here. that should be:
if ($guess == $number) {
better would be:
if (trim($guess) == $number {
this will
are you just looking for a way to display 10 results per page? If yes then
you can just use LIMIT to limit your result to 10 .. So, for the first page,
you can do "SELECT LIMIT 1, 10;" and for the second page "SELECT ...
LIMIT 11, 20" etc etc .
You can sure use "ORDER BY" with "LIMIT" to t
Hi!
I've got a little Problem with my ErrorHandler.
set_error_handler('ErrorHandler'); is executed on top of my script. Right
after it the ErrorHandler function.
After the ErrorHandler function there is a require('foo.php');
foo.php does not exist, so there should be an error message thrown ou
You could store the results in a session var to carry along the pages.
Then on the second just retrieve them.
Or maybe a second table with this info. Give each search an ID and store
the results there. It would be easy to implement:
INSERT INTO table ('',field) SELECT field FROM table ORDER
When the apache server goes to an error document, specifically, 404, do
the post variables go with it? Could I 'vector' off of the 404 document
and serve virtual pages out of the database?
Also, what's the best way to execute php code that resides in a
database?
--
If You want to buy computer p
I know how to use the "ORDER BY rand()" command on the end of queries to
randomize selection, but that's no good when you want to only display 10
results per page. The next page the user chooses, randomizes again and could
show duplicate fields and not at all show other fields.
Does anyone know a
http://www.devshed.com/Server_Side/XML/XSLTrans/print
--- Erik Price <[EMAIL PROTECTED]> wrote:
> A few days ago I upgraded to 4.1.2 on my RH 7.2
> server.
>
> I used --enable-xslt and --with-sablot in my
> configure parameters
> because I thought it would be fun to learn more
> about XSLT wit
> echo '';
First of all, $_POST will only work in PHP 4.1.x so make sure you are
running a recent version. And second, I bet you mean $_POST['inp'] there.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've gone to the mnoGoSearch page - it does look like it would do the job
nicely, however my hosting company absolutely refuses to upgrade to
anything above PHP 3.0.16, also it appears as though I'd have to compile a
good portion of mnoGoSearch on the server itself - another thing I'm not
allo
I was just wondering what people thought was the best credit card processing
place. I've been looking at Authorize.net and PayFlow Pro and I was just
wondering if people had any experience with them and had any thoughts on
which one was easiest to work with and which one worked best. Thanks,
Dave
> -Original Message-
> From: Richard Davey [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 17:12
>
> "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I don't understand why you think it is illogical. How else
> would you
> > deref
> -Original Message-
> From: Erick [mailto:[EMAIL PROTECTED]]
> Sent: 12 March 2002 01:47
>
>
> I've been working on this for a little while now, without success. I
> want to compare the current date to a certain recurring date (ie:
> compare todays date to the date of the second Sunda
THANKS TO ERIK PRICE !
You ablility to explain php concepts in simple langauge is exactly why I
signed up for this list!
I will be deeply greatful for any other tutorials like this one on
passing imputs.
THANKS AGAIN,
Jim Long
>Erik Price wrote:
> John,
>
> It seems that you're using two di
A few days ago I upgraded to 4.1.2 on my RH 7.2 server.
I used --enable-xslt and --with-sablot in my configure parameters
because I thought it would be fun to learn more about XSLT with PHP.
But there were problems (I don't have the actual error message, and
would like to avoid re-configuring
to add that $GLOBALS has reference to itself but when used in non-function context.
Try and
Regards,
Andrey Hristov
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Hunter, Ray" <[EMAIL PROTECTED]>
Cc: "Richard Davey" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent:
I am not sure there is any. $GLOBALS is simply an array that contains
individual references to each global variable.
For example:
$a = 1;
$GLOBALS['a'] = 2;
echo $a;
gives you 2
The best documentation is probably the basic explanation of how references
work. http://php.net/references
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I don't understand why you think it is illogical. How else would you
> dereference a multi-dimensional array?
Because in my mind (which I know is totally wrong in this instance, I'm just
explaini
Sources.
Andrey
- Original Message -
From: "Hunter, Ray" <[EMAIL PROTECTED]>
To: "'Rasmus Lerdorf'" <[EMAIL PROTECTED]>; "Richard Davey" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 6:59 PM
Subject: RE: [PHP] How to access arrays from $GLOBAL?
> Where i
On Wed, Mar 13, 2002 at 01:45:21PM +0100, Andy wrote:
>
> How could I generate a php script which scannes the dir for matching
> Countrycode patterns and renames the filename ?
> E.g.: Make out of CA-map.gif -> canada-map.gif?
First, make an array of countries codes and names (see below for one
Where is some good documentation on how $GLOBALS works and what is really
going on in the background?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 9:53 AM
To: Richard Dav
IMO it is not weird. Think about $GLOBALS['mtxt'] as a pointer to array(it is not but
this is a good example).
$GLOBALS is a hash list. So it has sub elements - zvals (internal _zend_value ). Every
from these zvals can hold zvals. In C the
syntax is arFooBar[1][2], not arFooBar[[1][2]]
I am not
I don't understand why you think it is illogical. How else would you
dereference a multi-dimensional array?
On Wed, 13 Mar 2002, Richard Davey wrote:
> "Mike Ford" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > $GLOBALS['mtxt'][1]
>
> Fantastic :)
>
> Th
"Mike Ford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> $GLOBALS['mtxt'][1]
Fantastic :)
That's totally illogical but it works a treat.
PHP has some weird syntax rules sometimes!
Cheers,
Rich
--
Fatal Design
http://www.fatal-design.com
Atari / DarkBASIC
> -Original Message-
> From: Richard Davey [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 16:02
>
> I have a global array $mtxt that is created in my script.
> I have a function from which I want to access a value from that array:
>
> $mtxt[1] = "Test";
> $text = $GLOBALS['mtxt[1]'];
>
> Is there anyway that I can open a new browser window in php, like you
> are
> able to do in JavaScript (window.open()). I have had a look around and
> can't
> find any information on how this can be done.
PHP can't control browser objects like windows. You have to use
JavaScript for stuff
> -Original Message-
> From: Richard Ellerbrock [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 14:25
>
> The following code generates a warning when register_globals=off and
> error reporting is set to E_ALL. How do I define the constant
> in another
> way not to generate a warning? Th
embed the javascript within the php using echo or print
-Original Message-
From: Way, Paul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 16:26
To: '[EMAIL PROTECTED]'
Subject: [PHP] Opening new browser window.
Is there anyway that I can open a new browser window in php, lik
Is there anyway that I can open a new browser window in php, like you are
able to do in JavaScript (window.open()). I have had a look around and can't
find any information on how this can be done.
Many thanks.
PW..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
On Wednesday 13 March 2002 23:37, John Gurley wrote:
> Thanks everyone for the help. Finally got it working using this:
>
>
> echo ' echo '>';
>
> ?>
>
> Don't hhave a clue why this worked and the others didn't?!?!?
This isn't working correctly. The fact that it 'works' is just a fluke.
I aske
> -Original Message-
> From: Gonzalez, Zara E [mailto:[EMAIL PROTECTED]]
> Sent: 11 March 2002 17:54
>
> I was just wondering if anyone knew an easy way to register
> all $_REQUEST
> variables as session variables.
I haven't seen this solution on the list, but what about:
foreach ($_RE
> -Original Message-
> From: Roman Duriancik [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 08:40
>
> I have one small problem. I have array e.g $array but I don't know
> how to finding arguments and values of this array.
>
> e.g
>
> $array["aa"] = 1;
> $array["ab"] = "some";
> ...
>
Hi all,
I have a global array $mtxt that is created in my script.
I have a function from which I want to access a value from that array:
$mtxt[1] = "Test";
$text = $GLOBALS['mtxt[1]'];
Except that gives me the Warning "Undefined index";
I can use $GLOBALS['mtxt'] to access a global variable wi
Hi
If I set up a session while generating a page, and I store some data in it,
when does that data become available for other connections from the same user
(same session)?
I.e. If I have a complex page with some session data that is used to
dynamically generate some of the images in the page
John,
It seems that you're using two different conventions here. This is
inconsistent, and confusing to me (at least, and possibly others trying
to help you). Let me show you what I am talking about:
On Wednesday, March 13, 2002, at 09:20 AM, John Gurley wrote:
> Sorry,
> Didn't mean
Thanks everyone for the help. Finally got it working using this:
';
?>
Don't hhave a clue why this worked and the others didn't?!?!?
thanks
John
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
Thanks, great place to start. Has anyone else done this stuff? Seems like
a big pain in the butt.
-Mike
>
> The php.net site
> (http://www.php.net/manual/en/ref.pfpro.php) has all the
> information you'll need to implement Payflow Pro. Check out
> the User Contributed Notes.
>
>
> -Original Message-
> From: Patrick Teague [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 10:48
>
>
> I'm having problems with .htaccess files setting up the php_value
> include_dir on both my development & test servers. I'm using
> php4 under
> apache on win2k for development & php
1 - 100 of 151 matches
Mail list logo