FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Linking problem
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Linking problem [message #183705] Fri, 15 November 2013 16:58 Go to next message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma: 0
Senior Member
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

as seen here, they have a link which produces something like:
javascript:ajaxpage('page.html','showstuff')
If I make it for a PHP page to show
javascript:ajaxpage('page.php?item=1','showstuff')

How do I properly retrieve the value of item?
Re: Linking problem [message #183707 is a reply to message #183705] Fri, 15 November 2013 18:10 Go to previous messageGo to next message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma: 0
Senior Member
On 15-11-2013 17:58, richard wrote:
> http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
>
> as seen here, they have a link which produces something like:
> javascript:ajaxpage('page.html','showstuff')
> If I make it for a PHP page to show
> javascript:ajaxpage('page.php?item=1','showstuff')
>
> How do I properly retrieve the value of item?
>

This is not about PHP.....

This example on the page you gave:
<script type="text/javascript">
ajaxpage('test.htm', 'rightcolumn') //load "test.htm" into "rightcolumn" DIV
</script>

Should be clear. (HINT: read the comment )
Re: Linking problem [message #183708 is a reply to message #183705] Sat, 16 November 2013 06:22 Go to previous messageGo to next message
Evan Platt is currently offline  Evan Platt
Messages: 124
Registered: November 2010
Karma: 0
Senior Member
On Fri, 15 Nov 2013 11:58:19 -0500, richard <noreply(at)example(dot)com>
wrote:

> http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
>
> as seen here, they have a link which produces something like:
> javascript:ajaxpage('page.html','showstuff')
> If I make it for a PHP page to show
> javascript:ajaxpage('page.php?item=1','showstuff')
>
> How do I properly retrieve the value of item?

What's your time worth, bullis? How many hours - days - WEEKS- have
you spent on this mr oldies site? I would be willing to bet if you
spec'd it out to a website designer, you could probably have had it
done for around $300. And then you could use the 400+ hours you've
spent on the site that does nothing, and you'd have built a dome home
by now.
--
To reply via e-mail, remove The Obvious and .invalid from my e-mail address.
Re: Linking problem [message #183712 is a reply to message #183708] Sat, 16 November 2013 15:30 Go to previous messageGo to next message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma: 0
Senior Member
On Fri, 15 Nov 2013 22:22:44 -0800, Evan Platt wrote:

> On Fri, 15 Nov 2013 11:58:19 -0500, richard <noreply(at)example(dot)com>
> wrote:
>
>> http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
>>
>> as seen here, they have a link which produces something like:
>> javascript:ajaxpage('page.html','showstuff')
>> If I make it for a PHP page to show
>> javascript:ajaxpage('page.php?item=1','showstuff')
>>
>> How do I properly retrieve the value of item?
>
> What's your time worth, bullis? How many hours - days - WEEKS- have
> you spent on this mr oldies site? I would be willing to bet if you
> spec'd it out to a website designer, you could probably have had it
> done for around $300. And then you could use the 400+ hours you've
> spent on the site that does nothing, and you'd have built a dome home
> by now.

what a joker.
Seen your own pathetic site lately?
Warning: require(livesite/get_page.php) [function.require]: failed to open
stream: No such file or directory in /home2/eplatt/public_html/index.php on
line 2

Warning: require(livesite/get_page.php) [function.require]: failed to open
stream: No such file or directory in /home2/eplatt/public_html/index.php on
line 2

Fatal error: require() [function.require]: Failed opening required
'livesite/get_page.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
in /home2/eplatt/public_html/index.php on line 2

After how many years of doing absolutely nothing with your site, you get
this for your efforts?
that's probably because you're using a service you fail to pay for.

As for my own site, at least I'm working on it.
Until a week or so ago, I did not have the proper information I needed.
Now I do.
I had been working on putting together the information by hand.
That takes a lot of time, bubba.

www.mroldies.net/everysong.html

That page took me an hour to do.
Using Liberty Basic made the work a snap, while doing the same thing by
hand took me six months just to do a tenth of it.
Re: Linking problem [message #183726 is a reply to message #183705] Sun, 17 November 2013 00:58 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Fri, 15 Nov 2013 11:58:19 -0500, richard wrote:

> javascript:ajaxpage('page.php?item=1','showstuff')

> How do I properly retrieve the value of item?

That depends what the ajaxpage javascript function does.

If it uses the first argument as the uri of a request, then you'd access
parameters in that uri from php the same way you'd access any other
parameters in a uri from php.

If it doesn't, then you sacrifice 16 goats and 8 chickens on the altar of
the temple at ankar wat at the 3rd full moon after the spring equinox in
the year of the constipated mongoose. And pray.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
Re: Linking problem [message #183728 is a reply to message #183712] Sun, 17 November 2013 05:02 Go to previous messageGo to next message
Evan Platt is currently offline  Evan Platt
Messages: 124
Registered: November 2010
Karma: 0
Senior Member
On Sat, 16 Nov 2013 10:30:41 -0500, richard <noreply(at)example(dot)com>
wrote:

> what a joker.
> Seen your own pathetic site lately?

Yes.

> Warning: require(livesite/get_page.php) [function.require]: failed to open
> stream: No such file or directory in /home2/eplatt/public_html/index.php on
> line 2

That's not my main site, joker.

> Warning: require(livesite/get_page.php) [function.require]: failed to open
> stream: No such file or directory in /home2/eplatt/public_html/index.php on
> line 2
>
> Fatal error: require() [function.require]: Failed opening required
> 'livesite/get_page.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
> in /home2/eplatt/public_html/index.php on line 2
>
> After how many years of doing absolutely nothing with your site, you get
> this for your efforts?

My time is invested in other things, and in another site.

> that's probably because you're using a service you fail to pay for.

LOL dumbfuck. I pay for the service, it's hosted on my colo machine.
If I didn't pay for it, you'd get a totally different error.

> As for my own site, at least I'm working on it.

Yeah - you should be working on your dome home. That's taken you over
3 years. Your site you've been working on how long now?

> Until a week or so ago, I did not have the proper information I needed.
> Now I do.

ROTFLOL, so it will be finished in a week then?

> I had been working on putting together the information by hand.
> That takes a lot of time, bubba.
>
> www.mroldies.net/everysong.html
>
> That page took me an hour to do.
> Using Liberty Basic made the work a snap, while doing the same thing by
> hand took me six months just to do a tenth of it.

And would have taken anyone else who didn't have their head shoved up
their ass a day to do.

Congratulations, bubba.
--
To reply via e-mail, remove The Obvious and .invalid from my e-mail address.
Re: Linking problem [message #183730 is a reply to message #183728] Sun, 17 November 2013 16:10 Go to previous messageGo to next message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma: 0
Senior Member
On Sat, 16 Nov 2013 21:02:50 -0800, Evan Platt wrote:

> On Sat, 16 Nov 2013 10:30:41 -0500, richard <noreply(at)example(dot)com>
> wrote:
>
>> what a joker.
>> Seen your own pathetic site lately?
>
> Yes.
>
>> Warning: require(livesite/get_page.php) [function.require]: failed to open
>> stream: No such file or directory in /home2/eplatt/public_html/index.php on
>> line 2
>
> That's not my main site, joker.
>
>> Warning: require(livesite/get_page.php) [function.require]: failed to open
>> stream: No such file or directory in /home2/eplatt/public_html/index.php on
>> line 2
>>
>> Fatal error: require() [function.require]: Failed opening required
>> 'livesite/get_page.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
>> in /home2/eplatt/public_html/index.php on line 2
>>
>> After how many years of doing absolutely nothing with your site, you get
>> this for your efforts?
>
> My time is invested in other things, and in another site.
>
>> that's probably because you're using a service you fail to pay for.
>
> LOL dumbfuck. I pay for the service, it's hosted on my colo machine.
> If I didn't pay for it, you'd get a totally different error.
>
>> As for my own site, at least I'm working on it.
>
> Yeah - you should be working on your dome home. That's taken you over
> 3 years. Your site you've been working on how long now?
>
>> Until a week or so ago, I did not have the proper information I needed.
>> Now I do.
>
> ROTFLOL, so it will be finished in a week then?
>
>> I had been working on putting together the information by hand.
>> That takes a lot of time, bubba.
>>
>> www.mroldies.net/everysong.html
>>
>> That page took me an hour to do.
>> Using Liberty Basic made the work a snap, while doing the same thing by
>> hand took me six months just to do a tenth of it.
>
> And would have taken anyone else who didn't have their head shoved up
> their ass a day to do.
>
> Congratulations, bubba.

bwahhhhhhhhhhhhhhhhahahahaha
so you changed the site and now you are announcing to the world you are
using trendy.
If you knew how to code, you wouldn't need it.
Re: Linking problem [message #183733 is a reply to message #183730] Sun, 17 November 2013 18:16 Go to previous messageGo to next message
Evan Platt is currently offline  Evan Platt
Messages: 124
Registered: November 2010
Karma: 0
Senior Member
On Sun, 17 Nov 2013 11:10:56 -0500, richard <noreply(at)example(dot)com>
wrote:

> bwahhhhhhhhhhhhhhhhahahahaha
> so you changed the site and now you are announcing to the world you are
> using trendy.

So?

You steal code from everyone else, and then beg for help here when you
can't figure out what you broke.

> If you knew how to code, you wouldn't need it.

I'm no expert at coding. I don't pretend to be. I'll admit I don't
have the knowledge to code a site, nor do I have the time.

The difference between you and me is I have the balls to admit I'm no
expert in coding, and admit I don't have the time.

You don't have the balls to admit you don't know shit about HTML, but
you pretend you do.

That, bullis, is what makes the difference between a man and ...
whatever the hell you are.
--
To reply via e-mail, remove The Obvious and .invalid from my e-mail address.
Re: Linking problem [message #183759 is a reply to message #183705] Mon, 18 November 2013 15:49 Go to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma: 0
Senior Member
Am 15.11.2013 17:58, schrieb richard:

> http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
>
> as seen here, they have a link which produces something like:
> javascript:ajaxpage('page.html','showstuff')
> If I make it for a PHP page to show
> javascript:ajaxpage('page.php?item=1','showstuff')
>
> How do I properly retrieve the value of item?

In the same way as usual - in page.php with $_GET['item'].


--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: detecting refresh versus initial page load.
Next Topic: what syntax errors will cause mismatching arrays?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 08:24:08 GMT 2024

Total time taken to generate the page: 0.02666 seconds