Farzan,
I don't have a direct answer to your question, but I work a lot with a
wiki application called PmWiki that does something very similar to what
you are doing.
Their instructions for using "clean urls" such as
http://example.com/blog/2 (only in their syntax) can be seen here:
http://www.p
localhost means the files are stored on your computer so I can't access them ;)Wait, you are trying to change the image directories? I'm a bit confused.Am 01.06.2013, 22:44 Uhr, schrieb Farzan Dalaee :thanks for answer but it doesnt work404 Not Found - http://localhost/framework/blog/files/upload/
This is more of an apache question.
You can try below url.
http://lmgtfy.com/?q=mod_rewrite+exclude+css
On 1 June 2013 21:39, Farzan Dalaee wrote:
> i starting to use mod rewrite but all my images or js links doest work
> my current query string is:
> index.php?r=blog&page=2
> i want to change
thanks for answer but it doesnt work
404 Not Found - http://localhost/framework/blog/files/upload/images/
but my images folder in:
http://localhost/framework/files/upload/images/
On Sun, Jun 2, 2013 at 1:11 AM, Julian Wanke wrote:
> Try to add
>
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteC
Try to add
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
that should exclude existing files and directories from rewriting...
Am 01.06.2013, 22:39 Uhr, schrieb Farzan Dalaee :
i starting to use mod rewrite but all my images or js links doest work
my current query stri
i starting to use mod rewrite but all my images or js links doest work
my current query string is:
index.php?r=blog&page=2
i want to change it with this:
/blog/2
this is my .htaccess file
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /framework/?r=$1&page=$2 [L]
but none of my js or css cant find
Yes, the cookie is being created. I show it in Firefox (Tools |
Options | Privacy | Show Coockies).
So the Session File, is being created at "session.save_path", as
configured in PHP.INI.
:(
Thank you for your response.
2008/6/2 Ted Wood <[EMAIL PROTECTED]>:
>
> 1. If you're
1. If you're using cookies, there's no need to pass the session name
via the URL.
2. Is the cookie being created?
~Ted
On 2-Jun-08, at 11:32 AM, Razer Montaño wrote:
Hello All, my first time here at list.
Well, I am with a very weird question, never happened with me,
always worked fin
Hello All, my first time here at list.
Well, I am with a very weird question, never happened with me,
always worked fine.
First of all, I am using WAMP (php 5.2.6, apache 2.2.8, mysql
5.0.51b), Firefox (All
cookies allowed), Windows XP SP 3 (I think ;-)... Ah, the
"session.save_path" pro
At 6:13 PM -0700 3/9/08, Adil Drissi wrote:
Yes like that, but you can consider also that the
vertical menu has different style for the link of the
current page. Anyway it does not matter for this
problem. Can you show us how your php function looks
like? Or maybe you are just doing a test for ea
Adil Drissi wrote:
> should be displayed differently. I was wondering if
> there is a way to do the same thing without the
> overhead of all that "if " statements.
If you're using PHP (or any other interpreted language) overhead is a
fact of life, there's little you can do about it.
/Per Jesse
Yes like that, but you can consider also that the
vertical menu has different style for the link of the
current page. Anyway it does not matter for this
problem. Can you show us how your php function looks
like? Or maybe you are just doing a test for each link
for your function to know if it is the
Yes this is the correct way to do things. As i said,
i'm using different styles for the menus links
indicating the current page. Suppose my page has one
horiontal menu at the top and one vertical menu at the
left. In this case, one element of the horizontal menu
and one from the vertical menu will
Adil Drissi wrote:
> Hi Jessen,
>
> The question is how to make it aware of the context.
> Do you know any work dealing with that?
Variables? Set a variable $context= before you include, then have your
include check on $context.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.p
Hi Jessen,
The question is how to make it aware of the context.
Do you know any work dealing with that?
Thanks
--- Per Jessen <[EMAIL PROTECTED]> wrote:
> Adil Drissi wrote:
>
> > Hi,
> >
> > Yes this is the correct way to do things. As i
> said,
> > i'm using different styles for the menus l
Adil Drissi wrote:
> Hi,
>
> Yes this is the correct way to do things. As i said,
> i'm using different styles for the menus links
> indicating the current page. Suppose my page has one
> horiontal menu at the top and one vertical menu at the
> left. In this case, one element of the horizontal me
Hi,
Yes this is the correct way to do things. As i said,
i'm using different styles for the menus links
indicating the current page. Suppose my page has one
horiontal menu at the top and one vertical menu at the
left. In this case, one element of the horizontal menu
and one from the vertical menu
At 9:23 AM -0800 3/8/08, Adil Drissi wrote:
I'm working on a site that is becoming more and more
bigger (containing more links). Now the problem of
links maintenance arises. An intuitive idea that i'm
trying to do right know is calling php functions that
will display every part of the site that i
Hi,
I'm working on a site that is becoming more and more
bigger (containing more links). Now the problem of
links maintenance arises. An intuitive idea that i'm
trying to do right know is calling php functions that
will display every part of the site that is
repetitive. For example left side menu
On Thu, April 12, 2007 9:14 am, Dan Shirah wrote:
> I have a page that has several links that point to the same page. I
> want to
> pass a variable to the linked page depending on which link the user
> clicks
> to only display a result set that is relevant to the link clicked. I
> know
> clicking
Dan Shirah wrote:
> Greetings!
>
> I have a page that has several links that point to the same page. I
> want to
> pass a variable to the linked page depending on which link the user clicks
> to only display a result set that is relevant to the link clicked. I know
> clicking on a link does not
Greetings!
I have a page that has several links that point to the same page. I want to
pass a variable to the linked page depending on which link the user clicks
to only display a result set that is relevant to the link clicked. I know
clicking on a link does not submit the page, so there would
: "StainOnRug" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 07, 2007 7:19 PM
Subject: [PHP] Links
Hello.. I searched for an answer on the simple quesiton but I am only
finding
complex answers... I simply just want to add a link in my database so when
my results display
:|
if i want link 3,
$result = mysql_query("SELECT address FROM db.links WHERE link_id=3");
$foo = mysql_fetch_assoc($result);
echo 'this is link 3';
On 3/7/07, StainOnRug <[EMAIL PROTECTED]> wrote:
Hello.. I searched for an answer on the simple quesiton but I am only
finding
complex answers
Hello.. I searched for an answer on the simple quesiton but I am only finding
complex answers... I simply just want to add a link in my database so when
my results display you can see the information.. and when they click the
link it takes them to the webpage of the article. I tried inserting
exa
Dear Webmaster:
PhpMore is a chinese PHP community focus on professional php
programers in China.
phpmore.com , the club of phpmore , is a digg-like site where
programers share their expericence.
phpmore also hold a chinese PHP e-mag named PHP&MORE from year 2004 ,
it published totally 6 vols fro
This one time, at band camp, Thomas Bonham <[EMAIL PROTECTED]> wrote:
> I'm trying to find out how make following happen
>
> Example:
> http://www.example.com/test.php?id=20
in test.php put this code
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
Thomas:
It's unclear as to what you want.
To make this happen, you click it:
http://www.example.com/test.php?id=20
To make this happe
I'm trying to find out how make following happen
Example:
http://www.example.com/test.php?id=20
What makes this happen and how do I make it.
Thanks
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/24/05, php @ net mines <[EMAIL PROTECTED]> wrote:
> Hi all
>
> is there a way to have a program detecting when a link was clicked and
> automatically opening another window (that can "plugged-in" in any website -
> running php of course)?
That would be done using client-side JS.
you would de
- Original Message -
From: "php @ net mines" <[EMAIL PROTECTED]>
To:
Sent: Saturday, September 24, 2005 4:34 PM
Subject: [PHP] LINKS
Hi all
is there a way to have a program detecting when a link was clicked and
automatically opening another window (that can &qu
Hi all
is there a way to have a program detecting when a link was clicked and
automatically opening another window (that can "plugged-in" in any website -
running php of course)?
I know... I hate pop-ups too but a client asked for it...
Thanks
M
--
PHP General Mailing List (http://www.php
Ann Clark wrote:
Hello,
We would like to exchange links between your site http://php-faq.com and
our new exciting casino web site.
Our site do NOT offer online gambling, it have information about different
aspects of gambling and so it's very good and informative from our point of
view.
We requ
Hello,
We would like to exchange links between your site http://php-faq.com and our
new exciting casino web site.
Our site do NOT offer online gambling, it have information about different
aspects of gambling and so it's very good and informative from our point of
view.
We require that our
Eduard Grigoryan wrote:
> Hi,
>
> I'm new to PHP and I'd appreciate your advice a lot.
> I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna
> use something like
> this:
> File "index.php":
> story
> about
>
Eduard Grigoryan wrote:
Hi,
I'm new to PHP and I'd appreciate your advice a lot.
I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna use
something like
this:
File "index.php":
story
about
But a guy told me it is not preferable to use t
Hi,
Check out this http://phpsec.org/
Cheers,
Catalin
Hi,
I'm new to PHP and I'd appreciate your advice a lot.
I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna use
something like
this:
File "index.php":
story
about
But a guy told
.
-Ryan
On 2/12/2005 10:33:10 AM, Eduard Grigoryan ([EMAIL PROTECTED]) wrote:
> Hi,
>
>
>
> I'm new to PHP and I'd appreciate your advice a lot.
>
> I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna
> use something like
>
>
Hi,
I'm new to PHP and I'd appreciate your advice a lot.
I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna use
something like
this:
File "index.php":
story
about
But a guy told me it is not preferable to use this method because of security
> After clicking on a link of a menu in a PHP page, I want to display that
> link in cell of a table. Please let me know how to open this link in a
> table
> cell.
You mean like this?
http://php.net";>PHP
You may also want to consider not using PHP at all, but using JavaScript
an
) [mailto:[EMAIL PROTECTED]
Sent: mardi 7 décembre 2004 11:17
To: '[EMAIL PROTECTED]'
Subject: [PHP] Links displaying in Table cells
Dear All,
After clicking on a link of a menu in a PHP page, I want to display that
link in cell of a table. Please let me know how to open this link in a
Dear All,
After clicking on a link of a menu in a PHP page, I want to display that
link in cell of a table. Please let me know how to open this link in a table
cell.
Thanking in anticipation.
Thanks and Regards,
Rajeev Tomar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Hi all
(B
(Bi m doing a project in which i m displaying the statistics of
(B
(Bclickcounts of links send thru a message.
(B
(BFor that i have to extract the links from the message string given by user.
(B
(BSo pls tell me how to get the url/links from a string (or) To track clicks of all
Original Message -
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> To: "WebMaster. Radio ECCA" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, August 19, 2004 1:38 PM
> Subject: RE: [PHP] Links with parameters in DB
>
> [s
[snip]
[snip]
I tried what you said but i get an eval error:
Parse error: parse error, unexpected '=' in /index.php(135) : eval()'d
code on line 1
[/snip]
You will probably have to escape the equals sign
[/snip]
Have you RTFM on eval? http://www.php.net/eval
You have to use valid PHP code. You
[snip]
I tried what you said but i get an eval error:
Parse error: parse error, unexpected '=' in /index.php(135) : eval()'d
code on line 1
[/snip]
You will probably have to escape the equals sign
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
TECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, August 19, 2004 1:38 PM
Subject: RE: [PHP] Links with parameters in DB
[snip]
It doesn´t work, I have other fields in the DB apart from the field 'Link',
so if I use
$link = eval($result);
I get a parse error. Apart from that, I have
[snip]
It doesn´t work, I have other fields in the DB apart from the field 'Link',
so if I use
$link = eval($result);
I get a parse error. Apart from that, I have to write the name of the field
(link), if not the server won´t know the field I´m refering to.
[/snip]
Then did you eval that? I meant
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "WebMaster. Radio ECCA" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, August 19, 2004 1:28 PM
Subject: RE: [PHP] Links with parameters in DB
[snip]
$i=0;
$q="select * from links'";
while ($i
[snip]
$i=0;
$q="select * from links'";
while ($ihttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
$link=eval(mysql_result($result,$i,"link"));
[/snip]
Try just eval on the field you pull from the database...
echo eval($databaseItem) then work your processing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!!
I have links saved in the DB and some of them may have parameters.
Those parameters may come from a php variable.
The problem is that when I recover the link form the DB I get the link plus the name
of the variable instead of its value.
Here is an example:
I have this in the DB:
---
This is the tutorial i used
http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
KidLat Ngayon wrote:
Greetings Guyz.
I would just like to ask for a help regarding on
"Links of Tables from other DB". I'm just only a
newbie in PHP Programming.
What I have right now is a
Hi,
From your post i the the proper use of databases hasn't 'sunk in' yet.
I propose that you head off to one of the sites such as phpbuilder.com
or devshed.com where you will find lots of articles on dbs as well as
how to use them with php.
all the best
KidLat Ngayon wrote:
Greetings Guyz..
Greetings Guyz.
I would just like to ask for a help regarding on
"Links of Tables from other DB". I'm just only a
newbie in PHP Programming.
What I have right now is a query result from my table,
and what I wanted to do is on my one of the table I
had is to have a link or button that will ope
Greetings Guyz.
I would just like to ask for a help regarding on
"Links of Tables from other DB". I'm just only a
newbie in PHP Programming.
What I have right now is a query result from my table,
and what I wanted to do is on my one of the table I
had is to have a link or button that will ope
Some body asked for links related to PHP. It's a good idea.
Here are some. If some one has more feel free to tell us.
PHP Hypertext Preprocessor
http://www.php.net/
Build Your Own Database Driven Website Using PHP & MySQL
http://www.sitepoint.com/books/phpmysql1/
FAQTs - Knowledge Base - faqts
$link = "http://somedomain.com";;
$msg .= "$link\n";
Quoting christian tischler <[EMAIL PROTECTED]>:
> I use mail() to send e-mail automatically.
>
> But all I can send is text. I would like to send links, but can figure out
> how to make them work.
>
> Thanks,
>
> Christian
>
>
>
> --
>
For the third parameter of the mail command, use:
"Content-type:text/html\r\n"
I.E.:
mail($to,$subject,$body,"Content-type:text/html\r\n");
On Thu, 2003-05-29 at 11:13, christian tischler wrote:
> I use mail() to send e-mail automatically.
>
> But all I can send is text. I would like to send l
ump.net
"Label makers are proof God wants Sys Admins to be happy."
-Original Message-
From: christian tischler [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 8:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Links in e-mail
I use mail() to send e-mail automatically.
But all I
I use mail() to send e-mail automatically.
But all I can send is text. I would like to send links, but can figure out
how to make them work.
Thanks,
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's a GET request right? So it'll be just like any other Location header.
mailtolinks.php will contain..
mailto:$addy";);
?>
-Kevin
- Original Message -
From: "Juan Pablo Aqueveque" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday,
Oh yeah ...I thought this same, I simply wanted to know if somebody could
give a better solution.
Thank you for your quick answer Jacob!..
greetings!,
--jp
At 00:55 11-09-2002 +0800, Jacob Miller wrote:
>I don't think its possible to make a normal link open the default email as
>mailto: is a
I don't think its possible to make a normal link open the default email as
mailto: is a special trigger built into the browsers. The only way I can
think of would be using javascript in the page.. something like
mailto:[EMAIL PROTECTED]';">
- jacob
At 18:51 09/10/2002, Juan Pablo Aqueveque
Hi all,
I want to do this:
When somebody do click in this url :
http://somehost.somedomain/mailtolinks.php?id=45
the script 'mailtolinks.php' should open my e-mail client (like
mailto:[EMAIL PROTECTED] sentence)
Any idea?
thanks
Juan Pa
yourself.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
www.phpbeginner.com
[EMAIL PROTECTED]
> -Original Message-
> From: G-no / |{iller [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 4:20 AM
> To: [EMAIL PRO
How would I make an "" link in php?? I'm using php nuke.
--
-Alias: |{iller
-Website: http://www.ai-syndicate.com
-AIM:Prn2000Str
-Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 17 Mar 2002, Morten Nielsen wrote:
> I got a table where I on the left has a link to page1. Another place in the
> table I have a button, which also links to page1. Is it possible to tell
> which of the two links has been pressed.
> I need to know so I only show a specific message when the
Hi,
I got a table where I on the left has a link to page1. Another place in the
table I have a button, which also links to page1. Is it possible to tell
which of the two links has been pressed.
I need to know so I only show a specific message when the button has been
pressed.
Regards,
Morten
-
Look here:
http://www.zend.com/apps.php?CID=38
-Original Message-
From: Administration@myclassguide [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 5:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] links manager
Hi
Anybody know of any good scripts for creating a directory
Hi
Anybody know of any good scripts for creating a directory for links which includes a
search function similar to Yahoo and other search engines.
Thanks in advance
Mohamed
Hi,
I have a link on my page that looks like this:
$CFG->dirroot= "f:/Inetpub/wwwroot/mymarket2";
Login
The link is displayed right on my page, but when I press it a dialog box is
saying that I am downloading the php file and wether I want to open or save
it.
Can anybody tell me what is wrong?
Hi. I've got the following problem. I've taken over a website of about
1200 static pages. Yes, that's right, 1200 static pages. Containing
roundabout a zillion working and broken links. I've done my job and made a
system that actually works, importing each page (manually with a
publishing tool wri
@ 6:42:33 AM on 9/5/01, * R&zE: wrote:
> This regex gets you everything between all and tags. Case
> insensitive, including embedded HTML-tags etc. Try it and let me
> know if this is what you need.
> --- PHP code ---
> preg_match_all ("/]*>(.+)<\/a>/imU", $StringToSearch, $matches);
> print_r
From: Kunal Jhunjhunwala <[EMAIL PROTECTED]>
Date: Wed, Sep 05, 2001 at 03:49:49PM +0530
Message-ID: <056a01c135f4$4e7b99a0$0301a8c0@CONFUSED>
Subject: [PHP] Links
> Hey,
> This is the second time I am asking about this. I havent been able to solve
> the problem. I am
Hey,
This is the second time I am asking about this. I havent been able to solve
the problem. I am trying to get all the information between the
tags. How can i do this? I couldnt figure the regex out :(
Regards,
Kunal Jhunjhunwala
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Hi Laurie,
If the data to be displayed was in a database, and each row of data
corresponded to an auto incrementing id, you could reference by id number,
which is a much better way of doing things via the GET method than messing
around with long names. Assuming that you have two tables, one that
> how would I add the query criteria to the link? and how would I set up
> showdata to take the information from the selected link?
Where you would usually have a form such as:
Display Value
... to use it as a link, you would use:
Display Value
Jason
--
Jason Murray
[EMAIL PROTECTE
I understand how to use a dropdown box to make your selection in which that
selection is the criteria to display a database content; but I was wondering
how I can achieve a query by link.
For example, if you went to index.html file where there is a php coding that
generates the categories availab
How about something like.
'start_page.php'
Some HTML...
display screen 1
display screen 2
More HTML...
'index.php'
-Original Message-
From: Ben Quinn [mailto:[EMAIL PROTECTED]]
Sent: 28 April 2001 11:57
To: [EMAIL PROTECTED]
Subject: [PHP] Links
Hi all,
I
Hi all,
I've been trying for many hours to find information on this, but not having
much luck. What i want to do is have an index.php page, and then each link
on that page has a URL like index.php?linkidie. index.php?links etc
Can anyone point me in the right direction?
--
PHP Genera
81 matches
Mail list logo