Hello could somone please explain to me HOW I serialize classes into session
and how I get the on the next page!??
Must I do $object = new ObjectName on the next page for the object to be
used??
How does this work?
Thanks
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
It continues incrementing the id field from where it left..
But i found the solution on the web;
it's as simple as :
TRUNCATE mytable; (which deletes the contents and also resets
auto_increment field to 0)
Thanks !
On Tue, 12 Mar 2002, Rick Emery wrote:
> It worked for me.
>
> What results did
>Hello could somone please explain to me HOW I serialize classes into session
>and how I get the on the next page!??
>
>Must I do $object = new ObjectName on the next page for the object to be
>used??
No.
Try this.
File test.inc--
id).":".($this->name);
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";
...
and script send me :
arguments aa : values 1
arguments bb : values some
thanks, roman
--
PHP General Mailing
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($fp,4096);
$data = chop($data);
$count = $count + 1;
$content[] = "$data";
}
fc
David Robley wrote:
> PHP from around 4.05 has functions available to interface with the
> mnoGOSearch search engine, available from http://www.mnogosearch.ru/
>
> I recommend you look at this combination.
I recommend this one to, its a very good alternative which I used for
several projects.
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 & php4 under apache on unix as a test
server. I've currently done the following on the win server
php_value include_dir
How about using the function print_r() ?
Regards,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everybody,
is it possible that there are some broken DLL's in the distributions ??
For example the php_curl.dll . I tried to uncomment it in the php.ini-file
and got an error. But by replacing the php_curl.dll with another
php_curl.dll from the net it works fine.
Is it only me who has thi
Hello!
I have a number... say 12234109 i want to transform it to 12,234,109
or 10312 transformed to 10,312 ... i guess you got my point..
Is there a way doing this... I believe pattern matching...but i dont know
how to do it...
Or any other solution?
Thanks...
--
PHP General Mailing List (ht
Hi All,
I am trying to do a mail attachment for photo(jpeg file) by using
php mail function and qmail server. I have used the following mime format
to send out photo attachment provide by
http://planetkiller.shadow.net.au/mime-php.txt. But When I received the
mail in Outlook Express, th
Hi there,
I am wondering if this is possible in php:
I have a whole bunch of files named after countrycodes. E.g. CA-map.gif
Now I would like to rename those files after the country. This is listed in
a dbtable containing the countrycode and countryname. E.g. CA - Canada
How could I generate a
Hi there,
I am wondering if this is possible in php:
I have a whole bunch of files named after countrycodes. E.g. CA-map.gif
Now I would like to rename those files after the country. This is listed in
a dbtable containing the countrycode and countryname. E.g. CA - Canada
How could I generate a
Hello,
i tried to download 32000 images from another to my server, through the
code,
$conn_id = ftp_connect("$ftp_server");
$login_result = ftp_login($conn_id, "$ftp_user_name", "$ftp_user_pass");
if ((!$conn_id) || (!$login_result)) {
echo "Ftp connection has failed!";
echo "
> -Original Message-
> From: Vlad Kulchitski [mailto:[EMAIL PROTECTED]]
> Sent: 11 March 2002 21:23
>
> I have a question. I am working on a submit form that will
> ask you for confirmation of info. I.e. I need to move values
> submitted via form through 2 different pages. One of the ways
hello,
Someone was kind enough to give me this code for sending a value from
one page to another, but it doesn't work. I wonder if anyone can see
anything wrong:
';
?>
I want to pass $inp to another pagee.
Thanks In advance
John
__
I did. That's why I'm confused. phpinfo() is telling me that the user is
myself (I don't see the group). So what is the "permission" difference
between running PHP and logging on to the server via telnet as myself?
> On Tue, 12 Mar 2002, Don wrote:
>
> use phpinfo() to find that out...
>
> >
hello,
how clud i resize images im php with the , is the script below rezize it
if it work where shuld i place this script?
can i give relate path for the jpg file?
is it need to place this script in a php file call this in the
please help
Header("Content-type: image/jpeg");
// $size and $stri
';
?>
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 6:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP] input
hello,
Someone was kind enough to give me this code for sending a value from
one page to another, but it doesn't work. I wonder
the single quotes you use for your echo indicate that the variable in your
echoed string won't be parsed double quotes indicate that it will be
parsed...
e.g.
$test = 1
echo '$test' // prints: $test
echo "$test" // prints: 1
Greets,
Edward
>
> > hello,
> > Someone was kind enough
Hi,
I need superuser rights for a PHP Script, called by the Apache Webserver.
Is it possible to do this with What is with the root
password??
Is there an other better way to do this?
How can I print the current user/group under php is running?
Thanx,
--
Mit freundlichem Gruß,
Johannes Tyra
On Wednesday 13 March 2002 20:54, John Gurley wrote:
> hello,
> Someone was kind enough to give me this code for sending a value from
> one page to another, but it doesn't work. I wonder if anyone can see
> anything wrong:
>
> echo '
>
> ';
> ?>
>
> I want to pass $inp to another pagee.
Ple
Nope, that's not the problem. the $_POST[] is NOT inside single-quotes.
The problem is he used commas before and after the $_POST[].
-Original Message-
From: Edward van Bilderbeek - Bean IT [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 7:02 AM
To: PHP-General
Subject: Re: [
On Wednesday 13 March 2002 21:02, Edward van Bilderbeek - Bean IT wrote:
> the single quotes you use for your echo indicate that the variable in your
> echoed string won't be parsed double quotes indicate that it will be
> parsed...
>
> e.g.
>
> $test = 1
>
> echo '$test' // prints: $test
>
i guess you are searching for this function :
number_format($number);
http://www.php.net/manual/en/function.number-format.php
Hope it could help you
SR
Claudiu a écrit :
Claudiu a écrit :
> Hello!
>
> I have a number... say 12234109 i want to transform it to 12,234,109
> or 10312 transformed
Solaris 8
PHP 4.1.2 (and 4.1.1)
In researching a problem with a script I discovered that I needed to
recompile PHP with OpenSSL support. So I successfully compiled PHP using
--with-openssl without errors. I did have an issue with libcrypto not
being found, but that was resolved by giving configur
On Wednesday 13 March 2002 21:07, Rick Emery wrote:
> Nope, that's not the problem. the $_POST[] is NOT inside single-quotes.
> The problem is he used commas before and after the $_POST[].
You can use commas to separate expressions when using echo. So that's not the
problem. AFAICS the code *i
Cookies have to be set before the block begins.
-fjr
Bob wrote:
> here is the example:
>
> // Beginning php
>
> // Saving the page header in the variable $head.
> $head = <<
>
>
> Feedback form
>
>
>
> Feedback form
> ENDH;
> // End of page header
>
> //
Hi everybody
I would like to know if somebody already wrote a script to allow apache
user administration from php under Win32
All the scripts I found are made for linux (using crypt function) I tried
to generate the password with the md5 function but it's not working
perhaps I don't know how to
On Wednesday 13 March 2002 08:55, Don wrote:
> I did. That's why I'm confused. phpinfo() is telling me that the user is
> myself (I don't see the group). So what is the "permission" difference
> between running PHP and logging on to the server via telnet as myself?
>
> > On Tue, 12 Mar 2002, D
He IS setting cookie before sending block. Note, that he is storing
the beginning of block in a HEREDOC, which he prints after setting
cookie.
Somewhere, he may be printing a blank line prior to setting cookie...that
problem has bitten me more than once, so now I'm on the look-out for it in
my
You could try to compress the images using php or telnet, or do it in
batchs from 5000 files.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 12 Mar 2002, Don wrote:
> I did. That's why I'm confused. phpinfo() is telling me that the user is
> myself (I don't see the group). So what is the "permission" difference
> between running PHP and logging on to the server via telnet as myself?
you should be able to find the group id
On Wed, 13 Mar 2002, Jan Rademaker wrote:
> On Tue, 12 Mar 2002, Don wrote:
>
> > I did. That's why I'm confused. phpinfo() is telling me that the user is
> > myself (I don't see the group). So what is the "permission" difference
> > between running PHP and logging on to the server via telnet
this is still not working for passing a value from one page to another:
';
?>
When I look at the source this appears:
which I take to mean that it does not know what $inp is. could it be
something with my browser, or am I still doing something wrong (I wouldn't
be a bit surprised)
Thanks
J
If you want to use sudo you can do it with the fowling function:
function loginsu(){
$fhandle = @popen("$sudo_path -u root clear", "w");
$fputs( $fhanlde, "$supassword");
@pclose($fhandle);
}
Dont forget to edit /etc/sudoers adding the folowing line
apache ALL=PASSWD:ALL
Do it at y
Are you using the post form method to post this variable to the next page.
The value $_POST['inp'] is not present or set...there is a null value there.
You will need to set the value with a post inorder to access it with the
predefined variable $_POST...
Thank you,
Ray Hunter
Firmware Engineer
I have an app that worked with mySQL, but now I'm trying to make it use
SQL Server. The function that connected to to the mySQL was:
mysql_pconnect($db_host, $db_user, $db_pass) or die("Unable to connect
to SQL server");
I tried to change it to "sql_pconnect($db_host, $db_user, $db_pass) or
di
What type of OS are you running this application on and how was php
compiled?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Greg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 6:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Newbie Ques
Thanks Jan!!! It Works
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I'm sure it's something simple, but what's the
> php function that will let me connect to the
> SQL Server?
mssql_*, instead of mysql_*
See them all at http://www.php.net/manual/en/ref.mssql.php
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
You could do it like this:
exec( "htpasswd -b $passwdfile $username $password" );
/nico
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi everybody
>
> I would like to know if somebody already wrote a script to allow apache
> user administration from php un
Ray,
I am using the post method, and the $_POST is inside ,
but the value is still not passed. Although I'm not sure what you mean by
"You will need to set the value with a post inorder to access it with the
predefined variable $_POST...". Could you explain this please.
Thanks again
John
_
John,
Post your code. We're all operating in the dark here and we want to help
you.
-Original Message-
From: John Gurley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 8:07 AM
To: [EMAIL PROTECTED]
Subject: [PHP] RE: passing values
Ray,
I am using the post method, and
Sorry,
Didn't mean to keep everyone in the dark here is the code:
Untitled Document
WEB BASED MUSIC COMPOSITION
Tune Type
Jig
Reel
Playback Tempo
Slow
Medium
fast
Form
A B A B C D C B
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? This is with php 4.1.1. I use defines
extensively throughout my code and it is making my debugging difficult
through the tran
> -Original Message-
> From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 00:51
>
> Hi All,
> I have multiple PHP pages and make my connection to the MySQl
> db in one of
> these pages. When I go to the next one any mysql commands
> seem not to work
> - it look li
On Wed, 13 Mar 2002, Faisal Abdullah wrote:
> Don't you have to assign the login value to the session variable first?
>
> session_start();
> $login = $HTTP_POST_VARS("login");
> session_register("login");
It's the same.
Saludos... :-)
Porqué usar una base de datos relacional cualquiera,
si pod
"Richard Ellerbrock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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? This is with ph
DEFINE('DBF_HOST', 'localhost');
When PHP sees DBF_HOST without quotes it thinks it should be a constant.
Even inside define()... just quote it, define still works.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.
> -Original Message-
> From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]]
> Sent: 09 March 2002 10:08
> To: PHP Mailing List
> Subject: [PHP] need help converting code to more efficient loop
>
> Hello! I am trying to reduce the size of the code below,
> which I believe
> can be simplifie
> -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
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.
>
>
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
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
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
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
> -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";
> ...
>
> -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
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
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:
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
> -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
> 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 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]'];
>
"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
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
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
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
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
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
"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
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
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:
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
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
> -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
> -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
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
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
> 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
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
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
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
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
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
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/)
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');
>
>
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
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
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
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
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
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 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
> >
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
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
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
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
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
1 - 100 of 151 matches
Mail list logo