|
|
#1 (permalink) | |
|
Illgamez Insomniac
Join Date: May 2006
Location: Texas
Posts: 2,210
Reputation: 43
|
Essentially, what I'm trying to get into php.
More specifically, I'm trying to learn how to make dynamic sigs using YouTubes Developer API's (xml returns). Now, I'm running php (with apache) on my computer with default settings, and am having a terribly hard time locating any tutorial on how to proper set up my GD functionality. It was in my perception that GD was already apart of PHP 5, but every time I try an example piece of code, it only returns the URL as an error. I'd really appreciate some help in terms of a discussion as to what I need to do before I can run basic PHP GD functions.
__________________
Now, an official Game Dev student.
Visit my FPSBanana profile and Studio to see what I've been working on recently. ![]() Quote:
|
|
|
|
|
|
#4 (permalink) | |
|
Illgamez Insomniac
Join Date: May 2006
Location: Texas
Posts: 2,210
Reputation: 43
|
I've read over that several times now, but everytime I try out the options, I get the same error.
Ultimatly, what I'm asking is (from anyone who has their own server or virtual server who uses GD [graphics dev]) to let me know how they got the GD to function, if it didn't already come to default on. Id really love to figure this out. I've done it online, and would like to be able to do it on my testing server. What I plan to do is use the YouTube API's to allow people to create a dynamic sig that lists the latest 3 uploads and titles, or latest favorites. (Ironically, no one has done this yet, exept for one guy who made a strange banner that does me no good.)
__________________
Now, an official Game Dev student.
Visit my FPSBanana profile and Studio to see what I've been working on recently. ![]() Quote:
|
|
|
|
|
|
#5 (permalink) |
|
Sun? What Sun?
Join Date: Aug 2006
Location: дома
Posts: 951
Reputation: 10
|
If your using web hosting maybe its your web host
try doing it with localhost if your creating image did you download gd at http://www.libgd.org/Main_Page? Last edited by Dennis56; 02-13-2007 at 05:24 AM. |
|
|
|
|
#6 (permalink) | |
|
Illgamez Insomniac
Join Date: May 2006
Location: Texas
Posts: 2,210
Reputation: 43
|
Well, php says that it comes standard after 2.x.x, and I have version 5.
Also, I'm not using a web host, as I said, it's on my computer. There was something I read about editing the configuration file; however, I'm having a hard time location the correct file to modify the "--with-gd". Note: I'm slowly giving up on this.
__________________
Now, an official Game Dev student.
Visit my FPSBanana profile and Studio to see what I've been working on recently. ![]() Quote:
|
|
|
|
|
|
#8 (permalink) | |
|
Illgamez Insomniac
Join Date: May 2006
Location: Texas
Posts: 2,210
Reputation: 43
|
I've given up on my testing server. I decided to start testing with my web host.
Anyway, I'm now in another bind. I developed an xml parser to properly par the xml's generated by the YouTube api's, but now I'm haveing problems with merging images. What I'm trying to do is merger the preview image into the sig banner. Everytime I get a success, the previews don't appear. I'm requesting a link to a tutorial that explains how to properly copy one image into another in PHP. tutorialized.com, isn't prooving to be of any help.
__________________
Now, an official Game Dev student.
Visit my FPSBanana profile and Studio to see what I've been working on recently. ![]() Quote:
|
|
|
|
|
|
#9 (permalink) | |
|
Illgamez Insomniac
Join Date: May 2006
Location: Texas
Posts: 2,210
Reputation: 43
|
OK, as an update to what I'm doing, the youtube siggy in my signature is a work in process.
To explaine simply what I have done, I'm uysing the YouTube api's (offered freely to anyone) to request a profile hit on recent videos. The hit returns an XML file which is parsed. After which, the php goes in and creates the image, copy's over the thumbnails (from a link provided in the xml) and titles, clips the titles if they are too long. Now, as you can see, I'm having problems. 1) I'm trying to get it to work with the get[] functions, but for some reason it doesn't work; howver, it works fine if I declare the same thing in a var. (very odd) 2)I can't seem to figure out how to get above font 5. here's the code for those who like: (yes you can take it, modify it, and use it. I don't plan on creating a service around it, but will upload the final code with instructions for fellow youtubers here.) PHP Code:
__________________
Now, an official Game Dev student.
Visit my FPSBanana profile and Studio to see what I've been working on recently. ![]() Quote:
Last edited by ncyphe; 02-21-2007 at 05:32 AM. |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|