473,508 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Passing value with out using variable in query string in PHP!

globalguideline
3 New Member
Hi all here at forum.
I am working to find out some solution to access a web page in PHP that is showing information on the bases of given argument in query string variable. My problem is this that I want to get the value of variable in query string but I don’t want to show the variable name and also want to hide the page name like below urls are opening fine.

example.com/JavaScript_Guide/JavaScript_Examples.php?JScript=first_JavaScript
example.com/JavaScript_Guide/JavaScript_Examples.php?JScript=JavaScript_HelloWo rld
example.com/JavaScript_Guide/JavaScript_Examples.php?JScript=HTML_With_JavaScri pt

But I want to open the same pages as below urls instead of above all.

example.com/JavaScript_Guide/first_JavaScript
example.com/JavaScript_Guide/JavaScript_HelloWorld
example.com/JavaScript_Guide/HTML_With_JavaScript

Is it possible in PHP if yes then please help me to get out from this problem.
Regards,
Ali.
Nov 29 '08 #1
1 2009
Markus
6,050 Recognized Expert Expert
@globalguideline
Well, it's not done through PHP but an .htaccess file.

Pretty url rewrite tutorial.

pretty urls php - Google Search

Hope this helps,
Markus.
Nov 29 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
5924
by: Paul | last post by:
I want to use sessions to cover myself in case the user switches off cookies so I am passing the session ID manually through a hidden input field. This is what I have so far. index.php page...
1
7769
by: Paul | last post by:
Hmmm, didn't seem to work. I have set session.use_cookies = 1 and session.use_trans_sid = 1 in my php.ini file. Index.php contains:...
5
1595
by: julian maisano | last post by:
As you'll see, I'm a beginner php guy... What i'm trying to achieve is: 1) List in AllProducts.php a set of products which are stored in a MySql table. Each product has a picture. Each picture...
3
14908
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
7
6390
by: rickcheney | last post by:
I just changed my Access 2002 database to a SQL Server ADP project. I had a form where the user entered a value into a text box and when a command button on the form was clicked a Report was...
6
3242
by: Scott Zabolotzky | last post by:
I'm trying to pass a custom object back and forth between forms. This custom object is pulled into the app using an external reference to an assembly DLL that was given to me by a co-worker. A...
2
2285
by: Keith | last post by:
Good Afternoon, New to .Net. I am trying to pass date/time values to a MS Access query depending on what value is selected from a dropdown list box (January, February, etc). I have declared...
3
1969
by: James Robertson | last post by:
I am new to the ASP and VB thing so be kind. Question I have is that I have created an ASPX web site to use as an E-Mail page. But I want to use this for a lot of users. Can I create the link on...
11
3738
by: kennthompson | last post by:
Trouble passing mysql table name in php. If I use an existing table name already defined everything works fine as the following script illustrates. <?php function fms_get_info() { $result =...
0
7324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.