One correction, Ricardo
for appending the rows, you will have to change the condition
//for 1st row
if($valueChk >= 1 && $valueChk <= 3)
//for 2nd row
if($valueChk >= 2 && $valueChk <= 3)
//for 3rd row
if($valueChk == 3)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROT
What is the best way to print large blocks of text
within a PHP function?
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 04 June 2002 16:51, Brian Feliciano wrote:
> how can i run my php scripts on the command line just like perl scripts?
> how can i do this on a linux/apache server and windows/iis4 server?
You need to compile a CGI (standalone) version of PHP.
--
Jason Wong -> Gremlins Associates -> w
On Tuesday 04 June 2002 17:34, [EMAIL PROTECTED] wrote:
> What is the best way to print large blocks of text within a PHP function?
echo(), print()?
Perhaps you can elaborate on what you want to do and what you want to know.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Sour
Sorry if this is an ignorant question, but I want to do one simple thing -
create an empty MySQL-type database to upload to the server so I can start
using PHP to access it... how can I do this? I don't really want to have to
download the whole MySQL product just to create an empty database!
If t
Switches come in handy here...
Switch($valueChk)
{
case 1:
do_whatever1();
case 2:
do_whatever2();
case 3:
do_whatever3();
break;
}
If the variable is 1, then all three functions will be called.
I don't remember what the original question was or if this even applies,
but
> Sorry if this is an ignorant question, but I want to do one
> simple thing - create an empty MySQL-type database to upload
> to the server so I can start using PHP to access it... how
> can I do this? I don't really want to have to download the
> whole MySQL product just to create an e
- Original Message -
From: "David Freeman" <[EMAIL PROTECTED]>
To: "'PHP Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 11:50 AM
Subject: RE: [PHP] MySQL - Creating The Database
> Ummm, not sure exactly what you're asking but you can use mysql_query to
> issue the relev
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Printing Large Blocks of Text
On Tuesday 04 June 2002 17:34, [EMAIL PROTECTED] wrote:
> What is the best way to print large blocks of text withi
On Tuesday 04 June 2002 19:03, Jason Teagle wrote:
> > Ummm, not sure exactly what you're asking but you can use mysql_query to
> > issue the relevant sql commands to create your database and tables and
>
> Am I correct in saying that none of the SQL functions in PHP can actually
> create a datab
> Am I correct in saying that none of the SQL functions in PHP
> can actually create a database file when no file existed
> before? In other words, an empty database file must exist
> before SQL functions can be called on it?
If you have appropriate access you can. You do need 'root' acc
You cannot create a database from within PHP, you need to connect to mysql server
( my guess is the same applies to MS Access), and with root priviledges call
something like
mysql_query("CREATE TABLE nuke_stories (
sid int(11) NOT NULL auto_increment,
catid int(11) NOT NULL default '0',
If your site is hosted in a *nix machine with shell access, another option
might be to create a database and write up the SQL you need to structure
it in a text file, then just feed it straight into MySQL like this:
mysqladmin -uusername -ppassword create yourdatabase
mysql -uusername -ppassword
David Freeman said:
> From memory, you also have a few php commands that will help - why not
> consult your local friendly php manual in the section under mysql
> commands for choices and information.
Jason Wong:
>The problem is that you haven't read the (mysql) manual. Either read the
>manual
print << wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tuesday 04 June 2002 17:34, [EMAIL PROTECTED] wrote:
> > What is the best way to print large blocks of text within a PHP
function?
>
> echo(), print()?
>
> Perhaps you can elaborate on what you want to do and what you want
So far I've found about five different ways to install PHP with PWS and
none of them work. Can anyone who has done this please send detailed
instructions about how to do it, or point me to instructions that work?
Thanks very much in advance.
--
PHP General Mailing List (http://www.php.net/)
T
[EMAIL PROTECTED] writes:
>So far I've found about five different ways to install PHP with PWS and
>none of them work. Can anyone who has done this please send detailed
>instructions about how to do it, or point me to instructions that work?
>
>Thanks very much in advance.
>
any error msgs? it'll
On Tuesday 04 June 2002 19:59, Jason Teagle wrote:
> to be fair, it is customary to get all the tools and other preparations
> (including necessary files) ready before embarking on a project. Thus, it
> is logical to get a blank database ready before beginning. Why read yards
> of documentati
> Also, if a person doesn't _know_ that PHP can create a
> database for you, how would they know that somewhere in the
> list of PHP functions is the answer to the problem? It would
> be foolish to expect someone to read the _whole_ of the
> documentation on MySQL or PHP just to see if t
Hi Peter, Thanks for the reply.
Yes, I have searched using both locate and find in the terminal, and
sherlock, though I don't think sherlock will find anything in system
folders. BTW... I updated my locate db before doing the search.
:) verdon
On 6/3/02 10:19 PM, "Peter" <[EMAIL PROTECTED]> wr
What I want to do is to the save a file with its new content, but when i
save the file
and the new content is less than it was before i opened it, you can see the
old content
after the new shorter content. How can i avoid this?
Now using:
$fd = fopen($arrFileName, "r+");
fwrite($fd, $arrFileCon
Quite frequently on this list and others there are questions where it is
obvious that the manual or list archives have not been searched. Heck, some
of these are cross posted to many lists where the sender may think that they
will get relevant information. On the MySQL list the footer even has thi
On Tuesday 04 June 2002 21:17, Jose Jeria wrote:
> What I want to do is to the save a file with its new content, but when i
> save the file
> and the new content is less than it was before i opened it, you can see the
> old content
> after the new shorter content. How can i avoid this?
>
> Now usi
If you had searched the list archives yourself you would have seen that
this has been suggested a few times and rejected each time because nobody
would stick around and answer the newbie questions and newbies, being
newbies, would figure out where the people who can answer their questions
hang out
[snip]
If you had searched the list archives yourself you would have seen that
this has been suggested a few times and rejected each time because nobody
would stick around and answer the newbie questions and newbies, being
newbies, would figure out where the people who can answer their questions
h
On Tuesday 04 June 2002 21:22, Rasmus Lerdorf wrote:
> If you had searched the list archives yourself you would have seen that
> this has been suggested a few times and rejected each time because nobody
> would stick around and answer the newbie questions and newbies, being
> newbies, would figure
I have the following problem.
code of index.php
---
0)) {
include_once(ROOT."/admin/main.php");
} else {
header("Location: " . generate_URL("/admin/login"));
}#end if
?>
I have the following problem.
code of index.php
---
0)) {
include_once(ROOT."/admin/main.php");
} else {
header("Location: " . generate_URL("/admin/login"));
}#end if
?>
- Original Message -
From: "David Freeman" <[EMAIL PROTECTED]>
To: "'Jason Teagle'" <[EMAIL PROTECTED]>; "'PHP Mailing List'"
<[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 1:58 PM
Subject: RE: [PHP] MySQL - Creating The Database
How very sad. It's not new - I've seen things like this
Or you could do this to make the page only
accessable to you.
http://www.mysite.com/cronpage.php?secretpassword=
iud88383
-Original Message-
From: John Holmes
[mailto:[EMAIL PROTECTED]]
Sent: June 4, 2002 4:45 AM
To: 'Edgard Berendsen'; [EMAIL PROTECTED]
Subject: RE: [PHP] Cronjob secu
He'll Be Back, they all come back
Chris
- Original Message -
From: "Jason Teagle" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 9:45 AM
Subject: Re: [PHP] MySQL - Creating The Database
>
> - Original Message -
> From: "David Freeman
please tell me a good PHP editor for linux, wich one you prefer.
or a package for PHP in Xemacs.
i try the bluefish but i dont like it.
Thanks,
Pedro Cardoso
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Brian Feliciano" <[EMAIL PROTECTED]> writes:
>>So far I've found about five different ways to install PHP with PWS and
>>none of them work. Can anyone who has done this please send detailed
>>instructions about how to do it, or point me to instructions that work?
> any error msgs? it'll help a
I have a bunch of pages on my site inside an apache .htaccess protected
directory. After visitors have logged in I am on part of my site I need to
find out which user it is that has logged in. I thought this information was
stored in the $PHP_AUTH_USER variable, but when I print this variable it i
I have been using Zend Studio on Windows and they have a Linux client.
You can get a demo key at www.zend.com.
I am pretty sure that xemacs has a php mode as well.
-Scott
On Tue, 4 Jun 2002, Pedro Jorge Dias Cardoso wrote:
>
> please tell me a good PHP editor for linux, wich one you prefe
Hello:
> please tell me a good PHP editor for linux, wich one you prefer.
> or a package for PHP in Xemacs.
I like very much this under linux http://quanta.sourceforge.net/
Best Regards.
QaDRAM Studio, RAD Development for the WEB
http://studio.
Hello:
> I have a bunch of pages on my site inside an apache .htaccess protected
> directory. After visitors have logged in I am on part of my site I need to
> find out which user it is that has logged in. I thought this information
was
> stored in the $PHP_AUTH_USER variable, but when I print thi
It turned out to be my coding error.
Thanks for all the replies!
Mitja
"Mitja Pagon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have the following problem.
>
> code of index.php
> ---
Thanks to a heads up fom Malcolm Dew-Jones on the comp.mail.mime newsgroup,
I belive a bug and resolution has been located in mime.php that addresses
the problem I raised below. It would seem that certain MTA's are chocking
on the line "Content-Type: multipart/alternative;
boundary="=_f74fc4c7192
ops! ops! ops!
I wonder : Who does have the reason in this discussion?
Mr. Jason Teagle or Mr. David Freeman
Being honest, I would say 50% and 50%.
At 09:45 04/06/02, Jason Teagle wrote:
>- Original Message -
>From: "David Freeman" <[EMAIL PROTECTED]>
>To: "'Jason Teagle'" <[EMAIL PRO
This is rather sad, the PHP mailing list is pretty good.
Agreed, sometimes the answers are curt, that's because a lot of the
questions have been asked a zillion times and can be found in the archives.
And sometimes there's no response, perhaps the solution is not evident to
those on the list.
But
Apologies for being slightly OT, but has anyone got an array or list of
countries that I can use to populate a pull-down menu?
Or maybe a link to a resource to find this sort of stuff?
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
[EMAIL PROTECTED] (Pedro Jorge Dias Cardoso) wrote:
> please tell me a good PHP editor for linux, wich one you prefer.
> or a package for PHP in Xemacs.
I saw recently that phpedit comes out on linux now thats a good
editor (it costs). Else try Kate for KDE and Quanta for GTK.
--
Henrik Hans
[snip]
Apologies for being slightly OT, but has anyone got an array or list of
countries that I can use to populate a pull-down menu?
Or maybe a link to a resource to find this sort of stuff?
[/snip]
A quick search on Google
(http://www.google.com/search?hl=en&lr=&ie=UTF8&oe=UTF8&q=%22list+of+co
>I have a bunch of pages on my site inside an apache .htaccess protected
> directory. After visitors have logged in I am on part of my site I need to
> find out which user it is that has logged in. I thought this
> information was
> stored in the $PHP_AUTH_USER variable, but when I print this
yo
Hello:
> Apologies for being slightly OT, but has anyone got an array or list of
> countries that I can use to populate a pull-down menu?
http://phpclasses.warmafrica.com/browse.html/package/406.html
This could be useful.
Best Regards.
QaDRAM
Set a Cookie then you can pull it out that way. PHP_Auth is based upon
Cookies from what I was able to figure out.
Chris
- Original Message -
From: "Fifield, Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 9:59 AM
Subject: [PHP] PHP_AUTH_USER
> I have a b
What your looking for is more of a router/switch management software. If
that doesn't do it for you, then you might want to look into a web proxy.
Configure the reporting per your requirements from your earlier post and
require that the user to log in before getting 'out'. You might try squid.
Ch
Hi there,
I am trying to get only records out of a table mathing a query. This should
be piped into a textfile. My problem is that I have to transmit this records
to a new machine. So the output should be a kind of sql commands which I
could run with phpadmin or similar to import them to the othe
[snip]
I am trying to get only records out of a table mathing a query. This should
be piped into a textfile. My problem is that I have to transmit this records
to a new machine. So the output should be a kind of sql commands which I
could run with phpadmin or similar to import them to the other db
Original question:
> [snip]
> I am trying to get only records out of a table mathing a query. This
should
> be piped into a textfile. My problem is that I have to transmit this
records
> to a new machine. So the output should be a kind of sql commands which I
> could run with phpadmin or similar
[snip]
I did read on mysql.com and your article. Than I tryed to transfer the
datasets.
Export worked ok. The textfile contains the records.
Import message:
Query OK, 35 rows affected (0.04 sec)
Records: 35 Deleted: 0 Skipped: 0 Warnings: 630
The warning already tells it. the datasets are tota
On Tue, Jun 04, 2002 at 04:40:26AM +0400, Ricardo Fitzgerald wrote:
>
> I'm trying to echo a neat table
I've GOT to bust your chops. That table and your code are anything BUT
neat. For neat, you need to put tags to close each cell. Also
nest your code properly...
if ($value2 ==0) {
Hi!
I want to write some multisite hit counter, but including session
statistics.
Anyone knows how to do that? I mean: I need to place some link on the page,
on not allways php enabled site - probably in form
of blank image, which will run script on my server. Ex.: http://my_serv.org?site=0011";>
On Tue, Jun 04, 2002 at 09:51:18AM -0400, SP wrote:
> Or you could do this to make the page only accessable to you.
> http://www.mysite.com/cronpage.php?secretpassword=iud88383
You could also use .htaccess or checking $_SERVER['REMOTE_ADDR'] to see
that the request is coming from your server. O
Quanta is for KDE, too, not GTK.
J
Henrik Hansen wrote:
> [EMAIL PROTECTED] (Pedro Jorge Dias Cardoso) wrote:
>
> > please tell me a good PHP editor for linux, wich one you prefer.
> > or a package for PHP in Xemacs.
>
> I saw recently that phpedit comes out on linux now thats a good
> ed
This variable isn't getting populated!
Environment:
PHP 4.1.2
Linux
Apache
always_populate_raw_post_data is on (php.ini).
Any ideas?
--Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did a php.ini-dist or php.ini-recommended file come with your installation
files? Locate those, edit them accordingly, and save it as php.ini in
/usr/lib/
---John Holmes...
- Original Message -
From: "Verdon Vaillancourt" <[EMAIL PROTECTED]>
To: "Peter" <[EMAIL PROTECTED]>; <[EMAIL PROTE
> I have a bunch of pages on my site inside an apache .htaccess protected
> directory. After visitors have logged in I am on part of my site I need to
> find out which user it is that has logged in. I thought this information
was
> stored in the $PHP_AUTH_USER variable, but when I print this varia
Hi There!
When uploading a file with PHP, AFAIK I can only control what will be stored
on the server. So if someone sends me 100 MB, these will be deleted
immediately. But, unfortunately, the traffic is produced nevertheless. Is
there any way to check the file size before uploading the file or an
Hi John,
Thanks for answering. Apparently not. I have tried both the builds provided
by Marc (well respected) at http://www.entropy.ch/software/macosx/ and the
default build included with Apple's MacOSX (10.1.4). Neither include these
files. Marc says that the file is not included and just instru
http://www.yourserver.com/image.php?ID=xxx";>
Do what you need to do with the PHP code as far as keeping a count of
visitors, etc, and then create an image header and send it the data for a
1x1 pixel transparant image.
Got a question for everyone else, b/c I'm not sure on this. If I have a link
http://www.yourserver.com/image.php?ID=xxx";>
Well, how can this help me? This is the way I need to use the counter on web
page, it solves nothing.
I need the same thing u are asking to, but this way it doesn't work. But
there are counters-sites that uses
this method(img) producing session statis
Correction Redhat7 :-) Got it working thanks for all the help!
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 9:36 AM
To: Fifield, Mike; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP_AUTH_USER
> I have a bunch of pages on my site inside a
A bug existed in 4.1.x regarding this
directive, and was fixed in 4.2.0.
Sorry I can't give any specifics (as I've
forgotten them) but see the changelog:
http://www.php.net/changelog
Regards,
Philip Olson
On Tue, 4 Jun 2002, Daniel Kushner wrote:
> This variable isn't getting populated!
Dear PHP-People:
Anybody knows why when I configure in my Explorer that uses a proxy, the value of
the cookie that I has set with setcookie(...) is lost. When I disable the proxy, the
cookie value is remained.
Anybody has had the same problem?
Thanks a lot.
Emiliano Marmonti
Ok, here's that email in English, if anyone can help this guy... I can't
unfortunately.
"Hello It is that I have problems so that works PHP in a servant NT 4,0
with IIS 3,0 and this PHP does not work to see. 4.2.1) since when doing
some of the examples that no encloses (codigos) works. Hicela pro
And the solution was? remember, other people actually search the archives
before they post, so giving the solution to your problem will help those
people out. (Even if it was something simple)
---John Holmes...
- Original Message -
From: "Fifield, Mike" <[EMAIL PROTECTED]>
To: "'1LT John
No problem bud, sorry I tried to help.
Anyhow, this does work, you just do not know how to write image.php so that
it returns the correct data for an image counter. maybe i misunderstood your
first email, but I thought you were looking for a "hidden" way of keeping
track of page hit counts and us
[EMAIL PROTECTED] (J Smith) wrote:
> Quanta is for KDE, too, not GTK.
>
you are right I was thinking about glimmer :) but kate,quanta for kde
then :)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The information is stored in the $PHP_AUTH_USER variable but only appears to
be accessible while you are viewing a page that is protected by that
.htaccess file. To make it available to other pages I assigned
$PHP_AUTH_USER to a session variable. :o)
-Original Message-
From: 1LT John W
Qual o erro que você está recebendo? Qual o módulo que você está usando?
CGI ou SAPI?
Veja que se você está usando o módulo ISAPI, ele não funciona com IIS 3.0.
Você terá que instalar o Option Pack 4. Aqui vai a informação do install.txt:
"For the ISAPI module, an ISAPI 4.0 compliant Web serve
Sorry, this was meant to go off-list.
At 01:38 PM 6/4/2002 -0400, Josué Figueira Machado wrote:
>Qual o erro que você está recebendo? Qual o módulo que você está usando?
>CGI ou SAPI?
>
>Veja que se você está usando o módulo ISAPI, ele não funciona com IIS 3.0.
>Você terá que instalar o Option
Verdon,
Maybe you didn't see my response to your message yesterday, since I saw a
few more posts from you after I replied wondering where you can get a
php.ini file.
Just go to http://www.php.net/downloads
Download the .tar.gz file for the version you're using from entropy.ch
Within, you will
Thanks Clay :) got it!
On 6/4/02 1:49 PM, "Clay Loveless" <[EMAIL PROTECTED]> wrote:
> Verdon,
>
> Maybe you didn't see my response to your message yesterday, since I saw a
> few more posts from you after I replied wondering where you can get a
> php.ini file.
>
> Just go to http://www.php.
OK - couple of things first:
a) The PHP mailing list is for programmers of PHP looking for help making
their own scripts - not for people who want support for implementing someone
else's script. There is a link on the site where I found a copy of your
script offering support, this is where you s
Ooops, now I feel silly - sent this to the wrong list!
Hangs head in shame! :-)
"Michael Davey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK - couple of things first:
>
> a) The PHP mailing list is for programmers of PHP looking for help making
> their o
Hi,
I need some help (or maybe a lot), to get PHP connecting to my Informix DB.
I'm pretty new to PHP, and i don't have a clue of what i'm doing wrong.
I'm using IIS 4.0 under Win NT 4.0.
with PHP 4.2.1
I've tried to connect throw ODBC driver, and directly from native functions
but both fail.
Th
On Thursday 30 May 2002 08:55, [EMAIL PROTECTED] wrote:
> Could somebody look at this a tell me way it does not set the
> password correctly. I know it has to run at root this has been
> handled.
> I think my problem is with --stdin. It sets a password but it does not
> set it correctly
>
> $
I have written an PHP application using LAMP. However, I have a client who wants me
to install the application on his Win2K server. My application uses PHP sessions with
trans-SID enabled.
I remember reading on this list where people were having problems getting PHP on
Windows to work. I do
hi everybody, i am new to this list & php
and i have a big question that i would love to be answered ;)
i have a small gif file that has a part in #ff3366 colored - so what i
thought
is to do a mean hack for my website: instead of opening all images in a
graphicseditor and change the
color manual
What about this?
Michael Cronstrom
Web Inventor
"AF","Afghanistan";
"AL","Albania";
"DZ","Algeria";
"AS","American Samoa";
"AD","Andorra";
"AO","Angola";
"AI","Anguilla";
"AQ","Antarctica";
"AG","Antigua and Barbuda";
"AR","Argentina";
"AM","Armenia";
"AW","Aruba";
"AU","Australia";
"AT","Austri
On Tue, Jun 04, 2002 at 09:52:23PM +0200, Michael Cronström wrote:
> "TP","East Timor";
The ISO met in May and changed this code to "TL"
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layouts
sorry- last mail i forgot the gif file, here it is though:
also the complete code i got so far:
";
$filetext1 = implode("",(@file("vcd_1.gif")));
// $filetext1 = bin2hex($filetext1);
$newfiletext1 = "";
for ($i = 0; $i < strlen($filetext1); $i++) {
$currchar = substr($filetext1, $i, 8);
$newfi
Hey there-
I'm trying to use an .htaccess file to parse .php files as .html does anyone
know how to do this? It doesn't work with the same structure as parsing the
.shtml files.
any suggestions would be great.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
- Original Message -
From: "Tom Ray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 2:41 PM
Subject: [PHP] PHP as HTML
> Hey there-
>
> I'm trying to use an .htaccess file to parse .php
have a form where user uploads "attachment" and provides email address and a
brief note regarding the attachment. The below script should grab all that and
email the note with the attachment to our target user.
Email appears with text portion and attachment icon, but no attachment (Outlook
2000)
"Tom Ray" <[EMAIL PROTECTED]> wrote:
> I'm trying to use an .htaccess file to parse .php files as .html does anyone
> know how to do this? It doesn't work with the same structure as parsing the
> .shtml files.
Assuming you're using the module version, add this into your .htaccess file:
Hi There!
I'm running wink2 with php and apache, I've found no problems with this and
have not had any issues that have found their way to the surface yet I
did try running php & IIS on here how ever I found that IIS (for some reason
... most likely me) was cutting out at a maximum of 10 conn
is it possible to check the visitors's resolution with php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think this was asked recently by someone else
You need to use javascript/vbscript to grab the dimensions then pass it to
php
php is server side and doesn't know anything about the client unless it's
told about it
HTH
Martin
-Original Message-
From: Doron [mailto:[EMAIL PROTECTED]]
Sent
I tried this, and it just prompts me to download the file from the server. I
can't see what the issue is.
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 5:35 PM
Subject: Re: [PHP] PHP as HTML
> AddType application/x-htt
How can I create a pop up window in my index.php (for example) when user
clicks on the link and pass value of the variable from my index.php to
this new window?
function myopen()
{
window.open("foobar.html?var1== $var1; ?>&var2== $var2; ?>");
}
click for new window
-Original Message-
From: Igor Portnoy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Creating pop-up window and passing
Tom, this does work fine... doing what Kevin says...
ie the
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
is PHP installed as a module or cgi ver?
Cheers
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 5 June 2002 9:49 AM
To: Ke
Couldn't you also do:
Link
I think you can subsitute "Resource Window" for "_blank" and get the
same effect.
HTH
Jason Soza
- Original Message -
From: Martin Towell <[EMAIL PROTECTED]>
Date: Tuesday, June 4, 2002 3:55 pm
Subject: RE: [PHP] Creating pop-up window and passing variable
Depends if you want to have more control over the window that gets open
If you don't mind what the window looks like, use the method Jason
mentioned. If you want to set the size or turn on/off the status bar/tool
bar/etc (to name a few) then use the javascript version
-Original Message-
Thanks!
I found another one (minus two char codes)... but this looks more
comprehensive.
Justin
on 05/06/02 5:52 AM, Michael Cronström ([EMAIL PROTECTED]) wrote:
> What about this?
>
> Michael Cronstrom
> Web Inventor
>
> "AF","Afghanistan";
> "AL","Albania";
> "DZ","Algeria";
> "AS","Americ
Why not go to the source?
http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html
--
Eugene Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey guys,
What is the best way for user authentication (now i'm talking about the
most secure and easiest way).
Now i've been using sessions, and i was wondering if cookies were better
and easier...
any thoughts?
thanks,
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
1 - 100 of 142 matches
Mail list logo