VogrothUnmaker Posted November 6, 2006 Share Posted November 6, 2006 [color=red]Okay, straight into it, I am in the middle of building a website for my webcomic and I am using much PHP to make my site as exciting and efficient as possible. The problem at hand is that instead of making a seperate .html/.php document for each comic strip (and instead of putting many comic strips on one long page) I want to use a variables in my URL for each comic. (You know something like "http://localhost/omnipresence/index.php?comic=comic1.png") Can you tell me how this can be done, my numerous books seem intent on keeping me in the dark >.>[/color] Link to comment https://forums.phpfreaks.com/topic/26379-variable-trouble/ Share on other sites More sharing options...
xtentic Posted November 6, 2006 Share Posted November 6, 2006 It's quite simple as i hope that i understood you correctly."You want to create php script / webpage wich displays your comics. Like a gallery"There are numerous free gallery scripts for you in all kinds of variations... but if you like to program it yourselve.. checkout the information on the following functions of php.PHP.net/dirfpasstru and or fopenfor and nextgetimagesizeand if you like to use a database checkout www.mysql.com :) Link to comment https://forums.phpfreaks.com/topic/26379-variable-trouble/#findComment-120623 Share on other sites More sharing options...
VogrothUnmaker Posted November 6, 2006 Author Share Posted November 6, 2006 Wow, Im confused PHP.net surely isnt the best at explaining what this all means... Link to comment https://forums.phpfreaks.com/topic/26379-variable-trouble/#findComment-120629 Share on other sites More sharing options...
VogrothUnmaker Posted November 8, 2006 Author Share Posted November 8, 2006 I dont think thats what I need Im looking at different gallery scripts and none of them seem right. I need an archive of webcomics much like this site, http://www.sbhsanimeclub.com/, however i need each webcomic to appear under a different url without making a seperate html document for each. I want to use variables for each comic how do i do that? Link to comment https://forums.phpfreaks.com/topic/26379-variable-trouble/#findComment-121771 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.