|
-
Aug 2nd, 2006, 03:03 PM
#1
Thread Starter
Lively Member
Splitting page with GD Image
I want to create a GD Image in PHP that I can use in my signature in vb forums like this. I want to split it and get the persons Username and output it. But I don't know how.
Last edited by SlicedCheese; Aug 2nd, 2006 at 03:08 PM.
-
Aug 2nd, 2006, 11:30 PM
#2
Re: Splitting page with GD Image
-
Aug 3rd, 2006, 05:04 AM
#3
Thread Starter
Lively Member
Re: Splitting page with GD Image
The current page the GD Image is on.
-
Aug 3rd, 2006, 06:00 AM
#4
Re: Splitting page with GD Image
I don't understand, can you elaborate?
-
Aug 3rd, 2006, 07:19 AM
#5
Thread Starter
Lively Member
Re: Splitting page with GD Image
Ok, I want to create a GD Image, that when I use it on a vBulletin forum as my signature, splits the page that the GD Image is on and finds out their username.
Like splitting the
"Welcome, SlicedCheese." bit. It's hard for me to explain.
I've tried splitting the forum homepage but the
"Welcome, <USERNAME>." bit doesn't exists becuase you have to be logged in to see that.
-
Aug 3rd, 2006, 10:03 AM
#6
Re: Splitting page with GD Image
Why can't you just pass the username as a GET parameter?
[img]http://myserver.com/gdimage.php?user=SlicedCheese[/img]
-
Aug 3rd, 2006, 11:35 AM
#7
Thread Starter
Lively Member
Re: Splitting page with GD Image
Because i want it to fetch the Username by splitting the page. Im going to be using this as a signature and I want the username of the person viewing the page with the GD image on displayed.
-
Aug 3rd, 2006, 11:38 AM
#8
Re: Splitting page with GD Image
But wouldn't it be easy enough for each user to have their own link that they can just copy and paste in to their signature? Basically what you are asking is impossible. If you are having problems with .php files in image links you can use URL rewriting to fake a .jpg link or something.
and BTW your use of the word "splitting" is what confused me before, I think you mean "parsing" or something.
-
Aug 3rd, 2006, 02:01 PM
#9
Re: Splitting page with GD Image
Basically you want to receive the source code that the user has in viewing the forum so that you can look up his username and embed that into the image, similar to the images that embed the IP and OS, right?
Impossible, sorry. IP and OS are things that the browser sends automatically. You have no way of getting the source code of the referrer. Of course, you can make a request to the referrer page, but since you're not in the same session, you won't get the same page, especially not the same source.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|