11 replies
I have a PHP page set up that needs what should be a very simple fix. It takes a url in the form http://www/example.com/inxed.php?page=xyz

It's supposed to merge the value xyz into a hidden field in the page. It doesn't, and I'm sure I've done something very simple wrong.

PM me if you can fix this, and let me know what it'll cost.


Paul
#fix #php #simple
  • Profile picture of the author Jared Alberghini
    Just sent you a PM Paul... the cost? nothing... however I may ask you a favor someday
    Signature

    P.S.

    Join The Future: Telekinetic Marketing

    {{ DiscussionBoard.errors[586994].message }}
  • Profile picture of the author Mohsin Rasool
    Hi Paul,

    Maybe i can fix it. I just sent you PM...

    Best,
    Mohsin
    {{ DiscussionBoard.errors[586995].message }}
  • Profile picture of the author Mohsin Rasool
    LOL, Jared.... We were posting at the same time :-) 04:02 AM LOL
    {{ DiscussionBoard.errors[586998].message }}
    • Profile picture of the author Paul Myers
      Jared was first. But there's backup, just in case.

      Jared, you make that work, and I'll cheerfully owe you one. I need that for a "launch" that's due this week, and the guy who did it originally goofed something. Or I did. (More likely me, but I can't get hold of him at this time of day...)

      Thanks, folks.


      Paul
      Signature
      .
      Stop by Paul's Pub - my little hangout on Facebook.

      {{ DiscussionBoard.errors[587023].message }}
  • Profile picture of the author thinkrich
    I have a PHP script that was designed for use on php4x

    My new webhost has php5 and the script no longer works.

    My webhost support fixed one script but the other one (I only have 2) will not work on php5.

    The script author wont take any responsibility for it (its a free script, so he dont care)
    {{ DiscussionBoard.errors[588557].message }}
  • Profile picture of the author Jay Moreno
    hi paul

    cant you just use this?

    <?php
    echo $_GET['page'];
    ?>

    or if you want them as hidden variables like you mention you can do this:

    <?php
    $pagevars=$_GET['page'];
    //echo "these are my url grab results: $results";
    ?>

    remove // to test it works...

    hope that helps you in the right direction - ill test it myself later today
    Signature
    Sorry, I am too busy helping people to think of a cool signature!
    {{ DiscussionBoard.errors[588860].message }}
    • Profile picture of the author Paul Myers
      Thanks to all for the advice. Jared knocked the bugs out of it so it now works on both servers, and handles the parsing perfectly.

      Much appreciated, sir!

      heh heh heh...

      Now, for World Domination!


      Paul
      Signature
      .
      Stop by Paul's Pub - my little hangout on Facebook.

      {{ DiscussionBoard.errors[589291].message }}
  • Profile picture of the author Jared Alberghini
    No problem Paul, I just wanted to get it working for you so I could signup for your newsletter and download your free "Need To Know" book...

    Jared
    Signature

    P.S.

    Join The Future: Telekinetic Marketing

    {{ DiscussionBoard.errors[589370].message }}
  • Profile picture of the author Jay Moreno
    fyi

    i tested my code out and it works too - in case anyone needs to use it the future...

    hth
    Signature
    Sorry, I am too busy helping people to think of a cool signature!
    {{ DiscussionBoard.errors[590549].message }}
    • Profile picture of the author Paul Myers
      in case anyone needs to use it the future...
      Cool.

      I suspect that, when they see what I'm doing, there will be a lot of people who want to use that code.


      Paul
      Signature
      .
      Stop by Paul's Pub - my little hangout on Facebook.

      {{ DiscussionBoard.errors[590566].message }}

Trending Topics