Jump to content

arandam

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

arandam's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks for your investigation now, i have bit peace, because, i was thinking, something is wrong in my coding. what do you mean by 'parse by hand'?
  2. i also tried that, but, its giving error but, if i use the link, http://news.google.com/news?ned=us&topic=h&output=rss, all methods are working. but, only with the link http://www.pharmamanufacturing.com/index.html?mode=rss, its not working. can u have a look, it just takes 5 lines of code. may be i am missing something
  3. I tried also using load(), but, thats also giving error
  4. what is wrong with this code? I want to parse rss content and its giving error that, the input is not corret $xmlDoc = new DOMDocument(); $xml="http://www.pharmamanufacturing.com/index.html?mode=rss"; $xmlDoc->loadxml($xml); //$xmlDoc->load($xml);
  5. i have the following on .htaccess, and its giving 403 error RewriteEngine on RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?compid=$1 RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?compid=$1
  6. >>>>5.all these user profile pages need to be displayed under www.mysite.com/cooluser/ i.e. www.mysite.com/cooluser/gallery.php, www.mysite.com/cooluser/printeddocs.php, www.mysite.com/cooluser/focus.php etc >>>>Do these files actually exist? If so, where? ------yes these files exist in the same directory under www.mysite.com >>>>6.if i try url rewrite, its giving me first page www.mysite.com/cooluser and the other pages are displayed as www.mysite.com/gallery.php and so on. but, i want them to be displayed under www.mysite.com/cooluser/gallery.php and so on. >>>>hat makes zero sense and completely contradicts itself. What exactly is the problem? ----the problem is cooluser is not a directory. but, just a php file, where extention is hidden. how can we show the profile related pages under coouser/ like www.mysite.com/cooluser/gallery.php >>>>Did you even look at the link I posted? -----I looked at the post, i tried other possibilities and wrote you the result. I also tried what you wrote in example, but, its not giving the needed result
  7. main point is if the user enters the url, www.mysite/cooluser, automatically, it should get the profile data if the user is browsing around the site and clicks his profile link, which is www.mysite/user.php?id=1, it should go to www.mysite/cooluser
  8. ok, i will try explaining again. of course, its at the best interest of getting solution . 1.I have user registration system. 2.the user profile is stored in database. 3. when the user(username=cooluser) logs-in, at www.mysite.com/login.php, he should get a url www.mysite.com/cooluser/index.php or www.mysite.com/cooluser/ 4.the user profile has 30 pages of info, all are php files 5.all these user profile pages need to be displayed under www.mysite.com/cooluser/ i.e. www.mysite.com/cooluser/gallery.php, www.mysite.com/cooluser/printeddocs.php, www.mysite.com/cooluser/focus.php etc 6.if i try url rewrite, its giving me first page www.mysite.com/cooluser and the other pages are displayed as www.mysite.com/gallery.php and so on. but, i want them to be displayed under www.mysite.com/cooluser/gallery.php and so on. I did my best to explain, if any pieces are not understood, pl. drop note. thanks
  9. i tried few examples, but, unable to get the solution to the situation, i explained above
  10. yes, thats clear. I tried RewriteEngine On Options +FollowSymlinks RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?id=$1 RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?id=$1 but, not able to make any progress.
  11. I am new to php, Can you explain a bit?
  12. i have a php application with user registration. i have to show each user , and user related pages as a sub-folder i.e for a user 'cooluser', if he logs-in, it should show www.mysite.com/cooluser/index.php my problem is, i cannot create a directory for each user, because, in each user there are 30 pages, showing the user profile information I tried friendly urls, but, it needs to have sub -folder. the partial content comes from mysql database. is there any solution/ advise?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.