Join 307,215 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,567 people online right now. Registration is fast and FREE... Join Now!
How about a tutorial for a PHP script that allows a user to build a "Choose Your Own Adventure" style story. Kinda like this: http://makeyourownadventure.ning.com/
all that is is a pimped up switch argument. you could run the info along the url bar or through hidden form fields and then use the switch function to find the correct 'section' of the story to display
How about a tutorial for a PHP script that allows a user to build a "Choose Your Own Adventure" style story. Kinda like this: http://makeyourownadventure.ning.com/
Well... I guess requesting a tutorial here doesn't always get ya one, or even a link to an existing one, or even a book recommendation that includes such a script...... But hey! I did eventually find the script I was looking for: http://sourceforge.net/projects/extend-a-story/
Glad you found a script that works for you. We tend not to write tutorials on how to build large projects. Rather, we write tutorials to help you accomplish a specific thing. If you were having trouble with a particular part of your application we'd have been able to help you more, but to show you how to do the entire thing would take more time than I think people have.
That in mind, you may want to search around for some tutorials on software and game design. Once you've read some of those you may be better prepared to take on your project.
Well, I've learned (X)HTML, CSS, and a little(Very little) php, in the time I've been with this site but after HTML i don't know why but it's been really hard for me to remember the codes. Now I wouldn't ask anybody to go hrough the trouble to write a tut just for me about anythng, but maybe somebody knows about a website i can learn it from that I don't know about I've tried w3schools, aside from this, and it was prety good but still a bit fast paced. (And I very well may have missed a good tutorial that's on this site)
I appreciate any help, I'm desperate =P
This post has been edited by BPac2Pimp4U: 2 Feb, 2009 - 09:50 AM
Upon entry of a url (through form submit button) i need to obtain the number of words and number of hyperlinks on that submitted url page. Am i best off using php file handling to first create a text file then analyse the source code to obtain the info or is there a more automated way? Ideally the user doesn't want to see any browser windows or such, just enter the url and get the numbers.
Overview I was looking at creating a simple 'navigability test' application to save the source code of a submitted url into a txt file through php file handling, once it is entered into a form by me. The test simply to find the ratio of words to hyperlinks in that text file and retaining those 1or2 values. Then i want to approach linking a database(MySQL) and manipulating/displaying the results through a html interface. The latter stages im more or less comfortable with its the initial event of obtaining the values for analysis that im struggling fathoming. Is there a wiser approach though?
1.Do i even need to create a text file to analyse the web page for the number of words/links? 2.Is this easily approachable with php script or should i try pursuing an applet or otherwise to complete this task? 3.Is this the best approach???
*Available languages for me include perl php and jsp and sorry i went on ok!..
Any thoughts on architechture/functions/methods/tutorial pointers greatly appreciated, many thanks my intellectual elders.
I'm looking for either a script (or the start of one) or a good tutorial on creating a hierarchical (inheritance-based) permissions system for PHP. (All my attempts quickly become fubar)
I've been searching to no avail for a couple months now. All I'm finding are scripts and tutorials that are either several years w/o an update, or poorly written.
A thousand thanks to any takers.
Thanks!
This post has been edited by dgersting: 15 Mar, 2009 - 11:21 PM