please help me!
| From: | Dan Sharp | Date: | Sun, 05 Nov 2000 10:18:52 +0000 |
| Subject: | please help me! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37162@lists.php.net to get a copy of this message | ||
okay, attached is an outline type thingy for something that i am trying to make......however, i suck
at programming so i need somebody to help me out
thanks
----------
Dan Sharp
http://theboardmag.com
+44 1785 611 701
81 Ampleforth Drive
Stafford, ST17 4TR.
#issue variables# $issuenumber ='' $magazine ='' $top ='' $bottom ='' $column ='' $picturetop ='' $picturebottom ='' #create frontpage# # $magazine_$issuenumber.cgi?1 #variables can be controled through a form# $imageurl ='' $imageheight ='' $imagewidth ='' $imagelink ='$magazine_$issuenumber.cgi?2' $footer ='' #build the page# <head> <title>issue $issuenumber</title> </head> <body> <a href="$imagelink"> <img src="$imageurl" height="$imageheight " width="$imagewidth"> </a> <br> $footer #create pages# #on final creation of $magazine_$issuenumber.cgi?2 follow this kinda procedure... #from a form get the url of the txtarticle $articleurl ='article1.txt' #details for credits and contents #get these and put them into 'data.txt' <articletitle>article1</articletitle> <tagline>an article called one</tagline> <author>dan sharp</author> #and put them into a txt file like so: article1|an article called one|dan sharp|article1.txt #once all the articles have been submitted and the admin selects to create the issue #parse the articles that are in the database by <startpage> changes to the content in $top <newcolumn> changes to the content in $column <endpage> changes to the content in $bottom #however, there are certain pages that are only pictures, so in the article the tags change to this <startpicturepage> changes to the content in $picturetop <endpicturepage> changes to the content in $picturebottom #those articles simple contain all the html and tags needed to put the images and links and stuff. #this will create all pages and in the $bottom variable there will be the script section #that says we are no longer creating .cgi?2 but we are on .cgi?3 #all the info about articles and pages numbers goes into contents_data.txt # then the perl/php script get the info from the contents_data.txt title|startpage|endpage article1|3|6 #and then it creates the contents page from that data including links to each article #this script would create another perl/php script for the issue it has been given the data to #it would contain the front page in file.cgi #a prime ad in file.cgi?1 #the contents in file.cgi?2 #and then any other articles and stuff in file?3 onwards #every single variable in this script can be put on one page, with just a form where i can tell the #database where all the articles area dn once i think i have given it enough, it can create the issue #all the data when the issue is beng built is held in temp databases #once the issue is created i can delete them manually #there wouldn't be a html file for each page, just one large perl script #this would hold all the data for each page in segments like file.cgi?3 #and so on...
#issue variables# $issuenumber ='' $magazine ='' $top ='' $bottom ='' $column ='' $picturetop ='' $picturebottom ='' #create frontpage# # $magazine_$issuenumber.cgi?1 #variables can be controled through a form# $imageurl ='' $imageheight ='' $imagewidth ='' $imagelink ='$magazine_$issuenumber.cgi?2' $footer ='' #build the page# <head> <title>issue $issuenumber</title> </head> <body> <a href="$imagelink"> <img src="$imageurl" height="$imageheight " width="$imagewidth"> </a> <br> $footer #create pages# #on final creation of $magazine_$issuenumber.cgi?2 follow this kinda procedure... #from a form get the url of the txtarticle $articleurl ='article1.txt' #details for credits and contents #get these and put them into 'data.txt' <articletitle>article1</articletitle> <tagline>an article called one</tagline> <author>dan sharp</author> #and put them into a txt file like so: article1|an article called one|dan sharp|article1.txt #once all the articles have been submitted and the admin selects to create the issue #parse the articles that are in the database by <startpage> changes to the content in $top <newcolumn> changes to the content in $column <endpage> changes to the content in $bottom #however, there are certain pages that are only pictures, so in the article the tags change to this <startpicturepage> changes to the content in $picturetop <endpicturepage> changes to the content in $picturebottom #those articles simple contain all the html and tags needed to put the images and links and stuff. #this will create all pages and in the $bottom variable there will be the script section #that says we are no longer creating .cgi?2 but we are on .cgi?3 #all the info about articles and pages numbers goes into contents_data.txt # then the perl/php script get the info from the contents_data.txt title|startpage|endpage article1|3|6 #and then it creates the contents page from that data including links to each article #this script would create another perl/php script for the issue it has been given the data to #it would contain the front page in file.cgi #a prime ad in file.cgi?1 #the contents in file.cgi?2 #and then any other articles and stuff in file?3 onwards #every single variable in this script can be put on one page, with just a form where i can tell the #database where all the articles area dn once i think i have given it enough, it can create the issue #all the data when the issue is beng built is held in temp databases #once the issue is created i can delete them manually #there wouldn't be a html file for each page, just one large perl script #this would hold all the data for each page in segments like file.cgi?3 #and so on...