to
happen?
If you have this in PHP:
$date = 1;
$date = 2;
$date = 3;
What value do you think $date has now??
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net
it...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
was wondering how you would incroment $counter in a while loop.. i
want to
print it out next to each record for a record counter on a web page...
while(whatever)
{
$counter++;
echo You are on loop #$counter;
}
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals
\php4isapi.dll
9. Start up IIS (net start w3svc)
That's it...
---John W. Holmes...
You are the best!
Thanks, BTW who is in charge of the PHP installation documentation, I
would like to slap them in the face with these instructions. I know that
IIS setup is not their domain but they are responsible
the session.gc_maxlifetime in php.ini to a larger value.
That is the number of seconds after which inactive session files will be
seen as garbage.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List
() (The
MySQL manual.)
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
return $player;
}
You have a $1, which is not valid unless it's inside a replacement
string. It's not where you have it.
Anyway, you need an 'e' modifier to make this work. Use these two lines:
$pattern = /\^(\d)/e;
$replacement = '$color[$1]';
---John W. Holmes...
PHP Architect - A monthly
On Thursday 20 February 2003 20:26, Ernest E Vogelsinger wrote:
At 13:16 20.02.2003, Tom Rogers said:
[snip]
Rec Have simple but annoying issue, I want to display a string
within an
Rec input field. This string contains ' so when it's
I have a site that sells software and wants to have downloadable
purchases.
Is there a way to encrypt a URL that will still work when clicked on, BUT
not show the customer where the file actually resides? Is it also possible
to have it expire after a given amount of time?
Sure, just have a
define (DOC_HOME_PATH, http://localhost/killerspin/web/store/;);
define (IMG_HOME_PATH, http://localhost/killerspin/web/images/;);
define (CTL_HOME_PATH, http://localhost/killerspin/web/control/;);
img src=? echo IMG_HOME_PATH ?stuff/image.jpg
a href=? echo DOC_HOME_PATH ?stuff/index.jspClick
This is a test message. I sent a real message last night and apparently
it didn't make it to the server.
So this is not a real message? Do I exist?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thursday, February 20, 2003, 9:34:03 PM, you wrote:
Rec Hi all,
Rec Have simple but annoying issue, I want to display a string
within an
Rec input field. This string contains ' so when it's being display the,
Rec anything after the ' is being left out. Here is the code I'm using:
If you use the pagebreak method, you could use:
$part = explode(pagebreak,$text);
to break apart the essay. Then echo $part[0] for page 1, $part[1] for page
2, etc...
I'm sure there are other ways.
---John Holmes...
- Original Message -
From: Alan McCoy [EMAIL PROTECTED]
To: [EMAIL
Is it possible to display the contents of a given folder, list them , and
make them links?
Yes.
---John Holmes...
PS: www.php.net/readdir
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ob_end_flush(); and get no errors
!!!
Indeed... work around the problem instead of solving it... no need for
fundamentals...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http
data entered in grass entry field(s).);
}
}
No matter what I put in the fields, the program dies and I get the
death
message. What can I do to fix this?
Why not just use is_numeric() and empty()? No need for regular
expressions.
---John W. Holmes...
PHP Architect - A monthly magazine
suggestions for accomplishing this?
Those are your options. Nothing is going to be 100% because anything
client side can be spoofed.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http
it, then
no, you can't use it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm designing a site with about 100 different pages. I'm debating
whether
to
use a template mechanism such as smarty or patTemplate vs just
creating
pages and including the body templates based on the url parameters. I
realize you get a layer of abstraction using the template mechanisms,
but
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
Where is the data? In an array? database? file?
If it's a database, then you can just do
SELECT * FROM table WHERE column LIKE 'a%'
or
SELECT * FROM table WHERE LEFT(column,1) = 'a'
---John
I need web application (PHP/MySQL) for small ads
(personal ads, that is advertisements to buy and
sell cars, houses etc).
http://www.phpwizard.net/projects/phpAds/
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you for answer, but I need application for personal small ads.
I am looking for application which need to show categorized
personal small ads and needto allow on-line adding of
personal small ads (for everyone) and and
need to have some mechanism for ads administration.
I do not
SELECT it out, send Word headers with header() and echo your data.
---John Holmes...
- Original Message -
From: M.ALPER KARASAHIN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 8:53 AM
Subject: [PHP] Php Oracle Word object
Hi,
i want to display a blob
I'm using sessions for authentication in a content management system and
experiencing rare but occasional problems with the session apparently
expiring unexpectedly. I've checked the manual and I've reviewed the
session
configuration on the commericial host I'm using. I don't see anything
Here is an example array:
array(
array(1,2),
array(2,3),
array(3,1)
)
now suppose I get some form inputs with the value 1 and 1. I am trying to
find a way to figure out if the first coloumn is already in the table and
if so just add the second coloumn to the
I was looking through php.ini and noticed that show_error was set to Off.
I
turned it On, and now I see these errors on one of my pages:
Notice: Use of undefined constant option - assumed 'option' in
/usr/local/apache/htdocs/tyler/encodeDecode.php on line 37
Notice: Undefined index: option
I've taken over a redhat server with apache/php4.1. I need to enable
register_argc_argv but I can't find the php.ini file (I've searched the
entire system).
Would creating a new php.ini file with only register_argc_argv line work?
Where's the default location for php.ini?
Load up a page
to in_array will solve that.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I wish to run PHP on a Win 2000 server, MS SQL and IIS. Can someone
please
guide me to some place where there are some tutorials on how to
install
and run the above?
The PHP manual has an installation channel the works.
Also are there any problems by running PHp on Win 2000, MS SQL and
. Is there a specific reason why you can't?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. This way an unmatched [b] tag won't be
replaced with b and mess up your code.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
anyone?
Do you want everyone on the list to send you a message saying they're
not sure what to do?? Just be patient and if someone has an idea,
they'll let you know.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com
, with less than 10 people
authorized
to access it, so I don't see the number of session files as a problem.
Have fun!
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net
need.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Client side issue. Use javascript or DHTML.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
-Original Message-
From: Michiel van Heusden [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 4:47 AM
program, too.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on *nix, or Task Scheduler if on Windows.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[], not the ID.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() and the like to do what you want.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
loop and do your stuff.
Not sure how that is for performance, though...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hey John.
Do you ever sleep? You've got a zillion posts in this news
group..
Sleep is for the weak...
To answer your question, it's not that I'm afraid of absolute paths,
it's
that I don't properly understand how to implement them.
I understand why the path references are not
, if you've got a small group of people like you say then just
teach them HTML so they don't make mistakes like this. Or provide a
preview mode so they can double check their work.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http
it at the end. You shouldn't be opening
a connection for each query.
As for persistent vs. normal, here's a good explanation of each option:
http://www.php.net/manual/en/features.persistent-connections.php
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
solution, is to
turn off register globals. Another option is to use a different variable
name than $Restrictions or unset() it before you start adding text to
it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP
not support many Javascript commands?
This has nothing to do with PHP. Search google, but I'll wager it's not
possible.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net
an include file with 2
things
(connecting and selecting a database). Then make another function just
for
queries, this way on the second and onward queries will save overhead
some
from connecting and selecting a database.
Second that...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP
What was suggested will work fine if the title and /title are on the
same line. If someone writes the file such as
title
My Title
/title
Then it will not match it. If this is a possibility for you, you'll want
to add an 's' modifier onto your pattern.
$pattern=/title(.*)\/title/is;
---John W
The $HTTP_POST_VARS array has no scope within your function. Make it
global for this to work or use $_POST.
function retrieve_select_listing($link, $workshop, $session, $username)
{
global $HTTP_POST_VARS;
//rest of your code...
---John W. Holmes...
PHP Architect - A monthly
!--#include file=
will work inside a .php file.. any solutions?
Virtual() may help here...
www.php.net/virtual
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hi, after asort()ing an array, the numeric keys are obviously out of
order.
what i'd like to do is reset the keys, starting at zero.
is there a function for this, or do I just walk through the array with
a
foreach() and do it manually?
Why don't you just use sort()?
---John W. Holmes
I have an sql statement that pulls data into a dynamic list box, the
problem
is, I have this list box twice on my form, since the query returns a lot
of
rows, I do not want to have the query executed twice but I populate my
list
box using the while loop so when it is time for the second list
and add them to your DELETE
query.
---John Holmes...
1lt John W. Holmes [EMAIL PROTECTED] a écrit dans le message de
news: [EMAIL PROTECTED]
I have a mysql database with a table using one column as a primary
key.
(rowID). On a php page I use a query to list all of the rows of the
table
Hi guys,
Wonder if you can help me with this.
I have a recording_global table which has recording_global_id in and
dj_global_id.
I want to be able to sort the recording_global table alphabetically by
dj name which I need to find from the dj_global_id table referencing
it from the ID in
Is there any way I can creat my very own super global variables?
You can assign values directly to $_POST, $_COOKIE, etc arrays and reference
them wherever you want later. It's just for the duration of the script,
though.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To
I am using sendmail and php and it works great...
However, It always says this in the header of the email
Received: (from [EMAIL PROTECTED])
Is there a way I can change this to something less generic, more specific
to
my server?
Read the manual page on the mail() function along with the
Put some quotes around the tag value for just in case the $aviao has a
space
in it:
$drop_down_list .=
optionvalue=\$aviao\$aviao/option;
what about if $aviao contains a double quote?
what's the proper way to handle that case?
or, in other words, what's the most general way
What you might try is removing the single-quotes from around PHP_SELF.
Before: $_SERVER['PHP_SELF']
After: $_SERVER[PHP_SELF]
Another note: as far as I can tell you do not need the braces ({}) to
enclose a variable within a double-quoted string. I may be wrong, but
nothing I've read
Is it possible to maintain the carriage returns in a
database insert. When I input data from a textfield
with returns into the database, it is lost on a
subsequent select and print.
They're still there, they don't disappear for no reason. HTML does not
understand newlines, though, only br
http://kemu.ath.cx/intranet/login.phps
when I press submit everything is OK it works like I want it to work but
I'm not happy with the result I see in my url window
I see this
http://localhost/intranet/login.php?user=kemupasswd=testsubmit=login
I don't like it that you can know the passwd
This may be a really elementary question but is it a good idea to add
the
extension .html to be processed as php?
If so then it would save me quite a bit of relinking with flash...
It adds a little overhead to HTML files, but doesn't hurt that much.
---John W. Holmes...
PHP Architect
)', $player);
So a value such as
$player = 'Bas^#ket ^?Ball Pla^:yer';
will produce:
Basfont color=#00ket /fontfont color=#7BD2ADBall
Pla/fontfont color=#63319Cyer/font
Which is much better HTML output than you had before. Enjoy.
---John W. Holmes...
PHP Architect - A monthly magazine
... well he said basically that this web site isnt being used
for
everybody and it is only used for pastors that need somewhere to go
and
get info and relief from problems they might have and dont want to
tell
people in their church about it.
Oh my god!!! So many jokes came to me so quickly
://www.php.net/manual/en/ref.outcontrol.php
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The constant __LINE__ works well.
---John Holmes...
- Original Message -
From: Chandler, Jacob R [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:21 PM
Subject: [PHP] line number
What function can I use to find out the current line number?
--
PHP General
http://www.zend.com/manual/function.date.php
--- CF High [EMAIL PROTECTED] wrote:
Hey all.
Easy question here (can't find the answer in php
manual)
In Cold Fusion I'm able to format a given numerical
month value, say the
third month, as #MonthAsString(3)# and it returns
March
Nothing to do with PHP at all but,
Pretty sure you have to tack on the URL variables within the window.open()
function. When you specify the name of the file to open, try putting the
variable there.
---John Holmes...
- Original Message -
From: Todd Barr [EMAIL PROTECTED]
To: [EMAIL
From what I can tell, if $img is an empty string, and $file_dir is not a
directory, $sql will not be assigned a value. This could be what's causing
your error when you try to run an empty query.
---John Holmes...
- Original Message -
From: Richard Whitney [EMAIL PROTECTED]
To: [EMAIL
I'm trying to set up a password section on my website. But I don't want
a window popping up asking for a username and password. I'd rather like
to have a form that submits the data. I did that and it works fine, but
the browser seems to not save the username and password, because if i
click
Probably means that only one row was returned from your query, so 2 is out
of range.
---John Holmes...
- Original Message -
From: Todd Barr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 5:11 PM
Subject: [PHP] Out of Range
here is my code
$Query = SELECT
(.) to concatenate strings, not a plus (+) symbol.
If you displayed $sql, like you should when you're debugging your
script, you'd of realized this a long time ago.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP
[jersey_id][$x]','$_POST[first][$x]'
PHP will be greedy, I think, and assume you mean $_POST[jersey_id][$x]
as the variable.
Or this method
('1','1','$date','.$_POST['jersey_id'][$x].','.$_POST['first'][$x].'
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your
.
You can set a password for the root user in MySQL. I guess it's not
required to have one, but it's a very good idea to have one.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
- Original Message -
From: paulm
not responsible for the consequences!!! Do not blame me if your file is
included!!
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
$session_id is coming from? If you want to get the
current session id, use the session_id() function.
scho session id: . session_id();
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http
.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the function
(+) i dont need to put there that?
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: 'Richard Whitney' [EMAIL PROTECTED]; 'Luis A'
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 8:21 PM
Subject: RE: [PHP] mysql trouble
### ?php
On Thursday 27 February 2003 00:08, 1LT John W. Holmes wrote:
Dude... honestly, lay off the coffee and learn to type.
Shouldn't that be cigars?
I guess so. He can send the cigars to me!! :)
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
There is a setting in MySQL for the max_connections. You just need to
increase this. If you're using persistent connections, do some research on
them and make sure you really need to be using them. They will eat up your
connections and cause you to have this error more quickly.
---John Holmes...
Does anyone know a way to do this easily? I have a script that pretty much
says this is due on the first of next month but I would like it to
actually use the correct date.
You would think strtotime(first of next month) would work, but it doesn't.
This does:
$t =
I have a confirmation of membership page a user would arrive at after
clicking on a URL in an email. After they click on a link in this page I
want to delete the page itself so it will only exist for this one use.
The URL in the page does go to another Welcome page which is on
another
webhost to move /tmp to another partition, or
_at_least_ to have session.save_path point to a partition that doesn't
get
exhausted too quickly.
Or use session_save_path() in your script to use a directory of your
own. Make sure you implement your own cleanup, though.
---John W. Holmes...
PHP
Im having a problem writing an HTML code in a text file which comes
from
the
html text area as an editor. There's an added characters inserted to
it.
How
could i write to it perfectly?
You have a problem on line 9 of your script after the 'e'.
---John W. Holmes...
PHP Architect
I need to be able to preserve line breaks when a user types in
multiple
lines in a multitple line test area. Right now if I echo
$_POST['textarea']
I get everything on one line. Is there any way to do this? Thanks!
-Greg
www.php.net/nl2br
---John W. Holmes...
PHP Architect - A monthly
The newlines are preserved. Do a view source of your page where you're
displaying it and you'll see what I'm talking about. HTML just doesn't
render newlines, only br. If you're seeing something different, then
show your code and explain this more.
---John W. Holmes...
PHP Architect - A monthly
I'm running a script that reads the contents of images and stores them
in a MySQL database. The problem I'm running into is that my server is
seeing \ as escape characters and stripping them out. I assume this
has something to do with Magic Quotes or something of that nature but
I'm not
just a fast question here.. and the lotic probably isnt to bright on my
part
and i think i know the answer to this question too but just to make
sure...
if you can include variables in an include file and use them outside that
file (in the file that includes that file that is) then can you do
Make sure whatever user the _web server_ is running as has access to write
to that directory.
With IIS, this is the IUSR_computer_name account.
$AppImageDir = Web/Images;
You've got a error in that line, also, hopefully it's just a typo, though.
---John Holmes...
- Original Message -
while (!feof ($handle)) ;
Take that semi-colon away. You're running this loop continously.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($_GET['style']) ) {
$_SESSION['style'] = $_GET['style'];
} elseif ( !isset($_SESSION['style']) ) {
$_SESSION['style'] = 'styles';
}
You're calling session_start(), so of course the session is going to
start, regardless of the auto_start setting.
---John W. Holmes...
PHP Architect
it by method post but without having to use a
form?
Thank you
Make sure you urlencode() the data before you tack it into the URL.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http
for another image or nothing.
The downside to this is it's harder to manage and all images requests
will be running through PHP pages.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http
the other. Or, format your insert
such as:
INSERT INTO table (col) VALUES (val1),(val2),(val3);
Which will create 3 rows.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net
I'm fairly certain we decided not to count you anyhow. ;)
John
Nope. It's 41 (I don't use Emacs)
At 15:30 27.02.2003, Larry Brown spoke out and said:
[snip]
Oops...I stand corrected.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
outside of the web root.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anyone with Apache verify that you can pass arguments inside of a
virtual() call? Something like:
Virtual(script.pl?id=1)
And have $id available within script.pl.
I don't have access to an Apache server right now to test, so thank you
very much.
---John W. Holmes...
PHP Architect
thanx for no response.
forget it.
It was realy so simple.
You're welcome. Really, it was nothing.
How about sharing the solution with the group that way you help other
people?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http
-alpha character, just add it to the final name
and move onto the next part.
Anyone see any issues with that? I don't have time to write the actual
code now, I'll do it later. It'll make for a good tip to put into
PHP|Architect.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP
At 03:09 28.02.2003, John W. Holmes said:
[snip]
Can anyone with Apache verify that you can pass arguments inside of a
virtual() call? Something like:
Virtual(script.pl?id=1)
And have $id available within script.pl.
I don't have access
right now to test, so
thank
you
JWH very much.
JWH ---John W. Holmes...
JWH PHP Architect - A monthly magazine for PHP Professionals. Get
your
copy
JWH today. http://www.phparch.com/
TR it shows up under
TR _SERVER[QUERY_STRING] = id=1
TR I ran the following script (virt) in cgi-bin
Are there any functions in PHP which can give us the coordinates of the
cursor when we click the mouse?
Thanks for the replys.
If you use an image as your submit for your form, you can.
input type=image src=foo.jpg name=image
When that image is clicked on, you'll have
$_POST['image_x'] and
1201 - 1300 of 2745 matches
Mail list logo