aspose file tools*
The moose likes PHP and the fly likes php , html ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "php , html ... " Watch "php , html ... " New topic
Author

php , html ...

rrn rose
Greenhorn

Joined: Apr 14, 2009
Posts: 10
hi

am using the below shown code for getting index.php of www.test.com.index.php





it is working fine..
but my problem is that.. if the url is www.test.com/index.php?catid=60
the rest part after index.php ie '?catid=60' is not retrieved..

how can i do that???
please help..
i will be very grateful..
thank you
Edit/Delete Message
Ryan Beckett
Ranch Hand

Joined: Feb 22, 2009
Posts: 192
Try
rrn rose
Greenhorn

Joined: Apr 14, 2009
Posts: 10
Ryan Beckett wrote:Try


sorry Ryan , i didnt understand , where should i use it? can you please explain??

and one more thing

if i am in www.test.com/abc.php
$_SESSION['page'] has the value abc.php

if the url is www.test.com/abc.php?catid=45

i am not able to retrieve the rest part after abc.php, whatever may be the rest part after abc.php, i want to retrieve tat..

how is it possible???

Ryan Beckett
Ranch Hand

Joined: Feb 22, 2009
Posts: 192
if the HTML form method is GET the form data is attached to the URL. Use $_GET in your php page to retrieve the form data.



should produce 45 in your HTML
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10360
    
    8

"rrn rose",
As indicated here (http://www.coderanch.com/t/440947/HTML-JavaScript/Displaying-alert-message-after-submit#1961355) please check your private messages for an important administrative matter.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
rrn rose
Greenhorn

Joined: Apr 14, 2009
Posts: 10
tried what you said , but did not work.
Anyway i really appreciate your willingness to help..

Thanks a lot...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: php , html ...