/addfilecat_id=5
so that when i access the link it has one of the categories in the
drop down selected..reason is i dont want users to see the
different types of categories
So i guess my question is how to configure a meu item in a drop down
to be automatically selected in a link
On Thu, May 5, 2011 at 18:10, Michael Simiyu simiyu.mich...@gmail.com wrote:
So i guess my question is how to configure a meu item in a drop down to be
automatically selected in a link...
?php
$cat_ids = array(1,3,5,7,13,15,24,36,81,92);
echo 'select name=categories'.PHP_EOL;
foreach
To: php-general@lists.php.net
Subject: [PHP] Customize link
Hello,
Here is the scenario
I have a form with the folloing fields i. Title ii. Category (This
is a drop down with a list of categories which have id's - am using
wordpress ) iii. upload file field
now what i want to do
Dan,
thanks for the reply.this is the code that shows/lists the
categories
?php
$cats = $download_taxonomies-
get_parent_cats();
if (!empty($cats))
On 5/5/2011 3:38 PM, Michael Simiyu wrote:
Dan,
thanks for the reply.this is the code that shows/lists the categories
you need to make the following check look at $_GET instead of $_POST. Or, I
hate to suggest it, you can use $_REQUEST. It includes $_GET, $_POST, and
others all in one
On Aug 31, 2010, at 3:06 PM, Ashley Sheridan wrote:
On Tue, 2010-08-31 at 15:01 -0500, Karl DeSaulniers wrote:
On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote:
On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote:
Hi,
Say I have some text.
$text = 'You can logon here: a
On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote:
Hi,
Say I have some text.
$text = 'You can logon here: a href=http://website.com/shop/
index.php?username='.$username.'http://website.com/shop/index.php?
username='.$username.'/a. This link will take you to your web
browser to
On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote:
On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote:
Hi,
Say I have some text.
$text = 'You can logon here: a href=http://website.com/shop/
index.php?username='.$username.'http://website.com/shop/index.php?
username='.$username.'/a.
On Aug 31, 2010, at 2:34 PM, Joshua Kehn wrote:
On Aug 31, 2010, at 3:31 PM, Karl DeSaulniers wrote:
Hi,
Say I have some text.
$text = 'You can logon here: a href=http://website.com/shop/
index.php?username='.$username.'http://website.com/shop/
index.php?username='.$username.'/a. This
On Tue, 2010-08-31 at 15:01 -0500, Karl DeSaulniers wrote:
On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote:
On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote:
Hi,
Say I have some text.
$text = 'You can logon here: a href=http://website.com/shop/
On Aug 31, 2010, at 3:06 PM, Ashley Sheridan wrote:
On Tue, 2010-08-31 at 15:01 -0500, Karl DeSaulniers wrote:
On Aug 31, 2010, at 2:32 PM, Ashley Sheridan wrote:
On Tue, 2010-08-31 at 14:31 -0500, Karl DeSaulniers wrote:
Hi,
Say I have some text.
$text = 'You can logon here: a
On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote:
On 10-07-24 12:58 AM, Paul M Foster wrote:
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote:
Hello,
I've got a page with an external link. I'd like to open it in a new
window, but i'm using the xhtml 1.0 strict dtd
On 10-07-24 02:06 AM, Paul M Foster wrote:
On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote:
On 10-07-24 12:58 AM, Paul M Foster wrote:
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote:
Hello,
I've got a page with an external link. I'd like to open it in a new
On Sat, Jul 24, 2010 at 2:44 AM, Robert Cummings rob...@interjinn.comwrote:
On 10-07-24 02:06 AM, Paul M Foster wrote:
On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote:
On 10-07-24 12:58 AM, Paul M Foster wrote:
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote:
At 2:06 AM -0400 7/24/10, Paul M Foster wrote:
Or, wait. With javascript, you're hacking the DOM. If you put my PHP
above in the file, the offending code will arrive at the client browser.
Will the xhtml 1.0 deities cast you into the pit of hell if this
happens?
Paul
A minor clarification,
On 10-07-24 04:19 AM, Adam Richardson wrote:
Code that resembled the below is how I used to open new windows before I
started using jQuery Note, this completely avoids use of the target
attribute.
function wireNewWindows(){
if(document.getElementsByTagName){
var anchors =
! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original message -
From: Robert Cummings rob...@interjinn.com
To: Adam Richardson simples...@gmail.com
Date: Saturday, July 24, 2010, 5:20:03 PM
Subject: [PHP] opening link in new window
On 10-07-24 04:19 AM, Adam Richardson
Subject: [PHP] opening link in new window
On 10-07-24 04:19 AM, Adam Richardson wrote:
Code that resembled the below is how I used to open new windows before I
started using jQuery Note, this completely avoids use of the target
attribute.
function wireNewWindows
On Sat, Jul 24, 2010 at 10:20 AM, Robert Cummings rob...@interjinn.comwrote:
On 10-07-24 04:19 AM, Adam Richardson wrote:
Code that resembled the below is how I used to open new windows before I
started using jQuery Note, this completely avoids use of the target
attribute.
function
I am not sure how PHP can help here. I am sure there must be a way out.
With JavaScript, it s certainly possible. You can try window.open() to make
this happen. It can accept a lot of parameters and a google search should
give you a lot of answers.
--Shreyas
On Fri, Jul 23, 2010 at 10:58 AM,
On 23 July 2010 12:23, Shreyas Agasthya shreya...@gmail.com wrote:
I am not sure how PHP can help here. I am sure there must be a way out.
With JavaScript, it s certainly possible. You can try window.open() to make
this happen. It can accept a lot of parameters and a google search should
give
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote:
Hello,
I've got a page with an external link. I'd like to open it in a new
window, but i'm using the xhtml 1.0 strict dtd so this isn't possible.
I was wondering if php could pull this off? Failing that, and not
really wanting to
On 10-07-24 12:58 AM, Paul M Foster wrote:
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote:
Hello,
I've got a page with an external link. I'd like to open it in a new
window, but i'm using the xhtml 1.0 strict dtd so this isn't possible.
I was wondering if php could pull this off?
Hello,
I've got a page with an external link. I'd like to open it in a new
window, but i'm using the xhtml 1.0 strict dtd so this isn't possible.
I was wondering if php could pull this off? Failing that, and not
really wanting to go there, would javascript work for this?
Thanks.
Dave.
--
PHP
What's the simplest way to test if a link is valid?
I've got a script that throughly checks the dns, etc. But, I'd also like to
check to see if the user has inputted a valid link to a webpage.
File_exists() and etc. seem to have a lot of caveats.
E.g., foo.com/bar/file.txt
Most things I've
On Mon, 2009-09-21 at 14:42 -0400, Al wrote:
What's the simplest way to test if a link is valid?
I've got a script that throughly checks the dns, etc. But, I'd also like to
check to see if the user has inputted a valid link to a webpage.
File_exists() and etc. seem to have a lot of
Several ways that I can think of:
* use the file_get_contents() which like you said, could be
overkill
* shell out to wget to retrieve just the headers for the path.
You'd be looking for a 200 return code, which indicates the URI
exists.
*
Hallo,
I have an link in a php generated email that does not work. I tried adding
http:// but with no result. It says the link is blocked. I created the mail
with html formatting.
I use pear email. Is there anything I have to consider to make this work?
Thanks, Sjef
--
PHP General Mailing
I have an link in a php generated email that does not work. I tried adding
http:// but with no result. It says the link is blocked. I created the mail
with html formatting.
I use pear email. Is there anything I have to consider to make this work?
Set the content type of the email to text/html
Sjef wrote:
Hallo,
I have an link in a php generated email that does not work. I tried
adding http:// but with no result. It says the link is blocked. I
created the mail with html formatting.
Who is It (in It says the link is blocked.) and how does it say it
is blocked?
/Per Jessen, Zürich
Shawn McKenzie wrote:
Sofia Jacob (CA) wrote:
Hi,
I want to create a link that get the name and the link from the database.
The problem is that I get the bullets created with li but not the link,
here is my code and the result:
?php
function do_html_URL($url, $name)
{
// output
Sofia Jacob (CA) wrote:
Hi,
I want to create a link that get the name and the link from the database.
The problem is that I get the bullets created with li but not the link,
here is my code and the result:
?php
function do_html_URL($url, $name)
{
// output URL as link and br
On 5/18/07, Haig (Home) [EMAIL PROTECTED] wrote:
Hi everyone,
I have a simple script that scans a directory and will output a list of sub
directories as a hyperlink.
Script is working fine. Only problem I have is that if there is a
subdirectory called Image, my script won't see it. If I rename
On 5/18/07, Tijnema ! [EMAIL PROTECTED] wrote:
On 5/18/07, Haig (Home) [EMAIL PROTECTED] wrote:
Hi everyone,
I have a simple script that scans a directory and will output a list of
sub
directories as a hyperlink.
Script is working fine. Only problem I have is that if there is a
On 5/18/07, Haig Dedeyan [EMAIL PROTECTED] wrote:
Sorry for the lack of information.
I also was wrong about the subdirectory name. It's Images and not Image
The workstation is running WinXP Pro while PHP 5 Apache 2 are on Suse
10.1.
I also installed apache2 php5 on a WinXP Pro system and
At last, why are you using file:// in your link? You're using a
webserver to display the contents, but file:// links to files on the
local hard drive. Unless the server is running on the same machine
you're visiting the site with, it will fail to point to the right
file.
I'm not positive,
Sorry for the lack of information.
I also was wrong about the subdirectory name. It's Images and not
Image
The workstation is running WinXP Pro while PHP 5 Apache 2 are on Suse
10.1.
I also installed apache2 php5 on a WinXP Pro system and the same
problem occurs.
I have tried 7
shows me the subdirectories that exist in the directory I
configure the script for, but no further levels of subdirectories as it
stands. That could be modified *very* easily, but that's a different
matter.
On my system, it shows /images without a problem, which more or less
adds
Hi everyone,
I have a simple script that scans a directory and will output a list of sub
directories as a hyperlink.
Script is working fine. Only problem I have is that if there is a
subdirectory called Image, my script won't see it. If I rename that
subdirectory to anything else, it will see
Use the function is_url (note that I haven't written it) instead to check if
the link is a URL.
Not only your method may count some links twice, but it will count wrong
URLs also.
a href='www.externaldomainnamehere.com'External/a is not a URL that will
take someone externally.
Below is the
On 4/7/07, itoctopus [EMAIL PROTECTED] wrote:
Use the function is_url (note that I haven't written it) instead to check if
the link is a URL.
Not only your method may count some links twice, but it will count wrong
URLs also.
a href='www.externaldomainnamehere.com'External/a is not a URL that
Tijnema ! wrote:
On 4/7/07, itoctopus [EMAIL PROTECTED] wrote:
Use the function is_url (note that I haven't written it) instead to
check if
the link is a URL.
Not only your method may count some links twice, but it will count wrong
URLs also.
a href='www.externaldomainnamehere.com'External/a
On Fri, 06 Apr 2007 09:01:20 -0400, Sebe wrote:
i thought of an idea of counting the number of links to reduce comment spam.
unfortunately my methods is not reliable, i haven't tested it yet
though.. anyone have maybe a better solution using some regexp?
$links = array('http://',
On Wed, March 22, 2006 10:29 pm, Mark wrote:
How can i make this email from a database a hyperlink so it doesnt
show the
email address--i have tried many things but i keep getting errors. At
the
moment it just shows the email (no link)
thanks
?php
//get comp_id
$query
How can i make this email from a database a hyperlink so it doesnt show the
email address--i have tried many things but i keep getting errors. At the
moment it just shows the email (no link)
thanks
?php
//get comp_id
$query = mysql_query(SELECT * FROM comps WHERE name = '$comp_name
Mark wrote:
How can i make this email from a database a hyperlink so it doesnt show the
email address--i have tried many things but i keep getting errors. At the
moment it just shows the email (no link)
thanks
?php
//get comp_id
$query = mysql_query(SELECT * FROM comps WHERE name
I need a function that links immediately to a different page - without
waiting for the user to click on anything. I'm not sure if link() does
that or some other function.
Thanks,
Ron Z
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2005-11-29 at 00:28, Ron Zimmerman wrote:
I need a function that links immediately to a different page - without
waiting for the user to click on anything. I'm not sure if link() does
that or some other function.
header() in PHP:
header( 'Location:
not totally sure what you're asking but look at header
(location: )
On Nov 28, 2005, at 9:28 PM, Ron Zimmerman wrote:
I need a function that links immediately to a different page -
without waiting for the user to click on anything. I'm not sure if
link() does that or some other
buys a template a
download link must be sent to his/her email address, and must be active
for only 2 or 3 days..
Anyone have an idea how to start or where to start?
Any link, any tutorial?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for selling website templates, the templates
are uploaded to a certain folder, when someone buys a template a
download link must be sent to his/her email address, and must be active
for only 2 or 3 days..
Anyone have an idea how to start or where to start?
Any link, any tutorial?
--
PHP General
On Friday 25 March 2005 14:25, [EMAIL PROTECTED] wrote:
Hello,
When I purchased a website template from templatemonster.com, they sent
the download link to my email, this link was active for only 2 or 3 days
then it became inactive.
Now I'm writing a script for selling website templates,
, September 16, 2004 6:02 PM
To: revDAVE
Cc: PHP
Subject: Re: [PHP] Novice PHP Variable/Link Question
On Thu, 16 Sep 2004 14:54:34 -0700, revDAVE
[EMAIL PROTECTED] wrote:
How can I use a PHP variable as the destination for a link?
? $mylink = 'thispage.htm'
a href=thispage.htmgo
On Friday 17 September 2004 21:49, Gryffyn, Trevor wrote:
Alternately, you can do it the lazy way like me:
a href=?=$url??=$url?/a
? Echo $url; ?
Is the same as...
?=$url?
I also think that's a little easier to read. But that's my preference
in style.
The use of this syntax is
How can I use a PHP variable as the destination for a link?
? $mylink = 'thispage.htm'
a href=thispage.htmgo here/a
With var...? How do I write this?
a href=??? $mylink ???go here/a
?
--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]
Check out some great Domain Names at:
On Thu, 16 Sep 2004 14:54:34 -0700, revDAVE [EMAIL PROTECTED] wrote:
How can I use a PHP variable as the destination for a link?
? $mylink = 'thispage.htm'
a href=thispage.htmgo here/a
With var...? How do I write this?
a href=??? $mylink ???go here/a
a href=?php echo $url;??php
On 9/16/04 3:01 PM, Greg Donald [EMAIL PROTECTED] wrote:
a href=?php echo $url;??php echo $url;?/a
It worked great - thanks a lot.
--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]
Check out some great Domain Names at:
http://www.domains4days.com
--
PHP General Mailing List
Hello,
Is there any way to manage links in an array and transform them.
For example, I have this text in the database:
---
Software Support Media, produc-ers of the International PHP
Conference, are pleased to announce a new monthly version of their print
publication. For more information, you
On Thursday 18 December 2003 01:37 pm, Vincent M. wrote:
Hello,
Is there any way to manage links in an array and transform them.
For example, I have this text in the database:
php.net/preg_replace
---
Software Support Media, produc-ers of the International PHP
Conference, are pleased to
This one is perfect:
$text = preg_replace( /(?!a
href=\)((http|ftp)+(s)?:\/\/[^\s]+)/i, a
style=\text-decoration:underline\ href=\\\0\URL/a, $text );
:D
Evan Nemerson wrote:
On Thursday 18 December 2003 01:37 pm, Vincent M. wrote:
Hello,
Is there any way to manage links in an array and
On 12 December 2003 00:03, Steve Turner wrote:
Hi,
I am having a problem with sessions. On my testing
machine my script
works perfectly. However on the remote server it tries to
pass the session
id in the url even though I am accepting cookies. It is
messing up all my
links since it
Steve,
As Mike said, I have a similar problem. I am using PHP 4.1.2. What
release are you using?
Peter
Mike Ford wrote:
On 12 December 2003 00:03, Steve Turner wrote:
Hi,
I am having a problem with sessions. On my testing
machine my script
works perfectly. However on the remote server it
Hi,
I am having a problem with sessions. On my testing machine my script
works perfectly. However on the remote server it tries to pass the session
id in the url even though I am accepting cookies. It is messing up all my
links since it puts PHPSESSID=6a4626fc1cde0fb228fcb3ebe5587ffd in front
nextpage.php?recordset=?php echo $recordset[id];?
then use the value of recordset to link back to that information on the next
page.
Is that what you mean?
Regards
R
Davy Campano [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a php page that makes a table from data in a
Hi everyone,
Can I replace Submit buttons on forms with a text button?
I need to be able to click on a link:
a href=index.php?option=editEdit/a
and have it submit the form. The form only contains one field...does anyone
know how to do this? I've been searching google for an answer, but
--On Wednesday, July 30, 2003 14:32:11 -0500 Tyler Longren
[EMAIL PROTECTED] wrote:
Hi everyone,
Can I replace Submit buttons on forms with a text button?
I need to be able to click on a link:
a href=index.php?option=editEdit/a
Something like:
a href=javascript:
Hi everyone,
Can I replace Submit buttons on forms with a text button?
I need to be able to click on a link:
a href=index.php?option=editEdit/a
and have it submit the form. The form only contains one
field...does anyone
know how to do this? I've been searching google for an answer,
//Just use this javascript function...
echo
script LANGUAGE=\JavaScript\
!--
function LetsSubmit(where)
{
document.forms[0].action = where;
document.forms[0].submit();
}
//--
/script
;
// Then output the submit link like this...
echo
a
Another option might be to use the heredoc syntax, but having php echo your
html is not the most effecient. Just FYI.
http://ca.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
Matt Palermo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am trying to
Warning for /SCRIPT... It's also the ending for PHP you see... Shouldn't
matter in this case, although, wouldn't suprise me at all if it was...
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
Matt Palermo [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
I am trying to
Hallo,
-Original Message-
From: Fritz [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 8:26 PM
Subject: [PHP] automatic link execution after form submit
I am stuck on executing automaticaly
a URL-string to be sent to a perl-script.
1) Redirect, using HTTP functionality
Dear groupmembers.
I am stuck on executing automaticaly
a URL-string to be sent to a perl-script.
Explanation:
I have a form with one textfield.
After submittung the form I get
the variable $indicprop from that field.
$indicprop should now be sent automaticaly
within a query string of the sort:
=\http\\3://\\4\\5\\6\ target=\_blank\\\7/a,
$message
);
?
But wouldn't it be easier just to do use a pattern like this
/\[([^|]+)\|([^\]]+)/
which gets everything between [ and | (the URI) and | and ] (the link
name)?
Nik
--
PHP General Mailing List (http://www.php.net
hi there i am trying tom preg_replace on a string enclosed in brackets to
denote a dynamic link
$message = [http://www.eletroteque.dyndns.org/index_html.php|Eletroteque
Multimedia];
echo $message =
preg_replace(/((http(s?):\/\/)|(www\.))([\w\.]+)([\/\w+\.]+)([\|\w+\.]+)\b/
i, a
it be easier just to do use a pattern like this
/\[([^|]+)\|([^\]]+)/
which gets everything between [ and | (the URI) and | and ] (the link
name)?
Nik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2003-03-06 at 05:49, electroteque wrote:
hi there i am trying tom preg_replace on a string enclosed in brackets to
denote a dynamic link
This works, if I understand you correctly:
?php
$message = [http://www.eletroteque.dyndns.org/index_html.php|Eletroteque Multimedia];
Leonard Burton schrieb:
Greetings,
You ought to make your link something like
www.foo.com/products.php?autoid=105. and then make a query on your page
that displays the pics based on an autoincrement number in your table.
You ought to be able to make the code something like:
//Display
Good Catch,
Be just as an advisement besure to escape those quotes with a backslash \
Leonard.
-Original Message-
From: Götz Lohmsnn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 4:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Which link was selected?
Leonard Burton
Leonard Burton schrieb:
Good Catch,
Be just as an advisement besure to escape those quotes with a backslash \
Leonard.
yes, you are right, but I also prefer the way of
?php
// do something here
?
a href=go somwhereimg src=image.gif name=myname border=0/a
?php
// do something
Hi,
I put pictures from a database ont the page about my products. If the user
click on a picture I want to give a detailed description about the product.
But how can I get, which picture was selected?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
All that stuff here;
}
else
{
include product_display_page.php;
}
I hope it helps.
Leonard.
-Original Message-
From: Karina S [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 2:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Which link
At 19:06 11.11.2002, Doug Coning spoke out and said:
[snip]
http://www.galapagosstudios.com/test2/viewdesigns.php?pri=1sec=1sid=1#Ga
rment
It works, however, IE says there is an error on the page. I believe the
error is probably with mixing the variables
First, to create a link thats just a a href=.. that point to the file.
ie a href=file.zipfile/a
Second, that depend of your windows's default configuration.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Alex Shi [EMAIL PROTECTED] a écrit dans
Thanks...but how to use header() to generate such a download link?
Alex
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
First, to create a link thats just a a href=.. that point to the file.
ie a href=file.zipfile/a
Second, that depend of your windows's
How do I count how many times a user clicks on a certain link? (and put
it into and array or variable I guess).
I want to be able to repeat a certain action on the same page as many
times as the user clicks on the link($PHP_SELF).
Thanks,
- Vic
Write a link wrapper that you would use like this:
a href=wrap.php/www.domain.com/path/file.html
Then in wrap.php:
?php
$link = substr($PATH_INFO,1);
... increment counter in database for $link ...
header('Location: $link');
?
-Rasmus
On Tue, 13 Aug 2002 [EMAIL PROTECTED
PROTECTED]
Subject: Re: [PHP] count link clicks
Write a link wrapper that you would use like this:
a href=wrap.php/www.domain.com/path/file.html
Then in wrap.php:
?php
$link = substr($PATH_INFO,1);
... increment counter in database for $link ...
header('Location: $link
Really? That sounds more complicated than I think I need it to be, can't
I use something like:
'a href='.$PHP_SELF.'?add_form='.$value.''
and somehow (this is what I need to know) get $value to increase in
value as the user clicks on the link again and again...
Nope, you would be fighting
I have no database, this has to be done in PHP
- Vic
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 3:05 PM
To: vic
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] count link clicks
Really? That sounds more complicated
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 3:05 PM
To: vic
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] count link clicks
Really? That sounds more complicated than I think I need it to be,
can't
I use something like:
'a href='.$PHP_SELF.'?add_form='.$value
I think I'm on the right track with:
?php
$i = $value++;
// Show first link
echo 'a href='.$PHP_SELF.'?add_form='.$value.'
New paragraph
/a
/font';
// Isert form html into $data_fields variable
$data_fields = 'html html blah blah
a
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 2:49 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] count link clicks
Write a link wrapper that you would use like this:
a href=wrap.php/www.domain.com/path/file.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 12:23 PM
To: 'Rasmus Lerdorf'; 'vic'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] count link clicks
I think I'm on the right track with:
?php
//
// CHANGE
]]
Sent: Tuesday, August 13, 2002 3:23 PM
To: 'Rasmus Lerdorf'; 'vic'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] count link clicks
I think I'm on the right track with:
?php
$i = $value++;
// Show first link
echo 'a href='.$PHP_SELF.'?add_form='.$value.'
New paragraph
: [EMAIL PROTECTED]
Subject: RE: [PHP] count link clicks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 12:23 PM
To: 'Rasmus Lerdorf'; 'vic'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] count link clicks
I think I'm on the right track
are there any php functions that handle downloads? For Instance I want to create a
link that contains a url string. In this string a variable is defined as a file.
This file will be downloaded when the user clicks on the link. How do you handle this
file in php? Is there a function that
You mean like:
?php
$file = whatever.exe;
echo a href=\downloads/$file\Get This File/a;
?
Which would make a download link for downloads/whatever.exe in HTML?
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-06-11 at 11:43, Kris Vose wrote:
are there any php functions that handle downloads? For
Hi guys, what I need is how to make the link between the php and the
Database.
Is this the code for it? ro something like that? Help me guys...
If you could tell me what each command line do I'd appreciate it, cause
I got almost all from a friend, but is incomplete.
The code follows
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
Rodrigo [EMAIL PROTECTED] wrote in message
000401c1f2cf$28b83f00$d86bbbac@rodirgo">news:000401c1f2cf$28b83f00$d86bbbac@rodirgo...
Hi guys, what I need is how to make the link between the php and the
Database.
Is this
$db = (localhost,databasename,databasepassword);
maybe add in a MySQL_connect() somewhere in there???
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 125 matches
Mail list logo