Jump to content

pritam79

Members
  • Content Count

    92
  • Joined

  • Last visited

Everything posted by pritam79

  1. Hi there, In the PHP tutorials here, there is PHP-AJAX tutorial as well, about bringing in more fatures in a php page with AJAX. Those have XML as well as javascript usage in them. I haven’t gone through the javascript and XML tutorials separately here in w3schools. Is there need of having some knowledge of these ( XML and javascript) first to better understand the PHP-AJAX part of the PHP tutorial of w3schools? Thanks
  2. What is the usefulness of PHP-XML and PHP-Ajax part when using PHP. What extra feature do Ajax and XML bring in a PHP site that cannot be done with PHP scripts alone? thanks
  3. pritam79

    Mail Function

    Thanks... In the PHP tutorials here I found a description of how to make an ODBC connection with an Access database, retrieving records, retrieving fields and closing an ODBC connection. What has an ODBC connection got to do while using PHP+MySQL? If a site is built with PHP+MySQL is there any need of ODBC, since we are using just MySQL? thanks
  4. pritam79

    Mail Function

    Ok, so there is no other way of testing the mail function locally except as described by you. It can be done easily on a remote mail server I guess. Is a mail server different from a normal remote web server? If the mail() function is included in a website, will the mail facility provided for the users require a separate remote mail server apart from the usual web server hosting the remaining site? Thanks.
  5. pritam79

    Mail Function

    how do i get to know whether i have a mail server running on my computer? i m using the wamp server.
  6. pritam79

    Mail Function

    I have this script which allows users to send email. Here's the script for the mail function. <html><body><?phpif (isset($_REQUEST['email']))//if "email" is filled out, send email { //send email $email = $_REQUEST['email']; $subject = $_REQUEST['subject']; $message = $_REQUEST['message']; mail( "someone@example.com", "Subject: $subject", $message, "From: $email" ); echo "Thank you for using our mail form"; }else//if "email" is not filled out, display the form { echo "<form method='post' action='mailform.php'> Email: <input name='email' type='text' /><
  7. Thanks justsomeguy, its working now
  8. pritam79

    File Upload Error

    I am running the following scripts in wamp, but i am unable to upload the selected files. The file which i am uploading is a jpeg of size 1.56 kb.This is the html form <html><body><form action="upload_file.php" method="post"enctype="multipart/form-data"><label for="file">Filename:</label><input type="file" name="file" id="file" /><br /><input type="submit" name="submit" value="Submit" /></form></body></html> This is the upload script <?phpif ((($_FILES["file"]["type"] == "image/gif")|| ($_FILES["file"]["type"] == "image/jp
  9. What about using apache+windows(wamp) to develop in php and not linux+apache at all?
  10. Which is the best server among IIS and Apache to run PHP scripts? What are the potential advantages/disadvantages of running PHP in IIS and Apache?
  11. pritam79

    Coding Standards

    OK, my code above definitely has some loopholes when compared with the kind of coding standards followed in real life web programming. But if a newbie wants to build a PHP site with the coding standard above, and uploads it on the web, will that be OK or before running it successfully on the web one has to reach the standard of coding used in open source projects, like phpBB, Wordpress etc? Thanks
  12. pritam79

    Coding Standards

    So if a novice programmer writes some similar code like the one above for a site and uploads it on the web will there be any problems with the site like security, maintenance, bugs etc.? Or will the site run properly just like any other on the web?
  13. pritam79

    Coding Standards

    OK, Could you give me an example of a 'user-registration' form or something similar that meets the web standards like scripts that are used by experienced programmers developing seriously for the web.
  14. pritam79

    Coding Standards

    Hi everyone,I would like to know if programming for the web using PHP needs some language standards to be maintained. Do I need to use high end PHP scripting or simple scripting to perform the same task. What should a inexperienced programmer opt for to develop for the web? <?phpinclude "header2.php";?><div id="content"><?php//include function files for this application require("PDMS_fns.php"); // start session which may be needed later // start it now because it must go before headers session_start(); check_valid_user(); global $valid_user; if(!filled_out($_POST)) {
  15. So what should a beginning programmer (programmer for the web) start off with- ASP or PHP? One more question, there are lots of PHP tutorials available (pdf format) but they do not seem to provide all details of a language. Are those tutorials not sufficient to master any language because i have been told so?
  16. pritam79

    Asp Comparision

    Hello there, I am new to scripting languages and have done some simple stuff like forms, sessions etc and how they work in PHP. Also I went through the similar aspects of ASP. But I found the ASP programming constructs a bit difficult to master for people who have just started learning scripting languages. May be that’s not the case for experienced programmers, but I just get the feeling that PHP is easier to understand and master. Please tell me which language would be better to start off with. Thanks to all.
  17. Hello there, I am new to scripting languages and have done some simple stuff like forms, sessions etc and how they work in PHP. Also I went through the similar aspects of ASP. But I found the ASP programming constructs a bit difficult to master for people who have just started learning scripting languages. May be that’s not the case for experienced programmers, but I just get the feeling that PHP is easier to understand and master. Please tell me which language would be better to start off with. Thanks to all.
×
×
  • Create New...