Quick installation How to set up ASP or PHP in few minutes Installation of tools required to develop in ASP or PHP differs due to your operating system... At ASP-PHP.net, we consider that users have Windows 98 or Windows 2000/XP Pro... We did not and will not check the use of these tools on any other operating system. However, if you succeed running them on another operating system, Please let us know and we will add a note here in !
1st page <Démo> Some fundamentals to start "I miss some steps, maybe some fundamental elements that I do not understand..." Some visitors of this site may venture to say so... Then, this 1st page will be an attempt to connect them between what is incomprehensible when writing his/her first dynamic pages and what is so evident after developing for a while. That is something we quite often forget to talk about...
Don’t hesitate to talk about your difficulties... and this page will be modified accordingly !
Some basics Variables, tables, functions and procedures Upon request of beginers, some basic information to better understand...
Good construction of a page How to organize pages with ASP or PHP? "Didier, please be a little bit more methodical !" said Zaramouss, my old master. Because, when I started my new life as a Webmaster I used to joyfully spread out pages on the Net… and spent, after that, many hours for each small web site modification.
QueryStrings Send information via URL You have already experienced complex URL such as http://www.site.com/rep/liste.asp?id=1257&lng=en&act=del&email=cid@fr.fm ! This presentation consists of learning how to use fractions of URL in order to send information from page to page...
Cookies Send information between 2 visits Sometime, after a first visit on a site you may have the feeling that this site recognizes you when re-visiting it… This is true! because a file (you are not aware of) is stored on your hard drive... But, let's explore this issue…
Forms Collect fields in a form (POST method) Forms are extremely used when creating dynamic pages. Because a form enables to collect information entered by visitors before analysis via JavaScript. It also enables to transfer this information onto the server to complete a database or a file… The "Post" method is required to do so and allows to properly collect fields content.
Variables of Session Send info without URL or manage a shopping cart It is difficult to send certain variables via URL… We could send an identification through a QueryString that would allow to read a specific file for each visit… But, this is really too complicated… So, I prefer to use a better and transparent method with Variables of Session that are stored in the memory of the server, and deleted after a while if the visitor is not active… They are used a lot in E-commerce to manage shopping cart!
Server Environment Variables Collect information on visitors A lot of data is available on server when calling for information about visitors. And, this is useful to identify visitors, get some statistics about the number of visits, or adapt the site to all specifics of any browser.
Upload files <Démo> Visitors upload files on your site Sometimes, it can be nice to enable visitors to collaborate in editing the content of the site without giving them the login to FTP… If the concept is simple in PHP it will require a specific component to be installed by the administrator of the server in ASP… and every component has its own syntax…