Jump to content

bonaparte

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

About bonaparte

  • Birthday 10/11/1981

Contact Methods

  • AIM
    bngsudheer
  • MSN
    sudheerboss
  • Website URL
    http://www.binaryvibes.co.in
  • Yahoo
    sudheer_boss

Profile Information

  • Gender
    Male
  • Location
    #172, I Floor, 'Hamsashree', Defence Colony, Sahakaranagar, Bangalore, India

bonaparte's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Zend Framework is a component library and framework for PHP 5. ZF believes in OOP. It uses a lot of design patters. I would recommend you to get acquainted with OOP before you start using ZF. It will be easier to understand ZF if you understand its motivations.
  2. You could try using sending mails via SMTP.
  3. You need this snippet to loopup the definition of the word 'camera' in the dict.org database. The script uses CURL with dict protocol. <?php $wordToLookup = 'camera'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "dict://dict.org/d:(" . $wordToLookup . ")"); $definition = curl_exec($ch); curl_close($ch); echo $definition; ?> You can also grab the script from Code Album repository - http://github.com/bngsudheer/Code-Album/blob/3a048318a679813013ef42de946f32b85c36e437/cli/scripts/standalone/CURL/LookupDictionary.php repository.
  4. Are you able to get a sample PHP script to work on the same server?
  5. You can do whatever you want to with the returned rowset. Display, edit or delete the returned object or array. Why would you want to do it at the SQL level?
  6. From the Wikipedia <quote> nginx (pronounced as "engine X") is a lightweight, high performance web server/reverse proxy </quote>
  7. I recommend a new print.php where you can print the order info.
  8. Sorry, I did not understand the SQL. What exactly do you mean by "fetches all the day for one day"? What is "interval 1 day"?
  9. This problem seems to be specific to browsers. Have you tried to submit the form by pressing the enter key in different browsers?
  10. You can't hide in the address bar. You can't restrict the user from tying whatever he/she wants in their browsers. You need have control the logical flow of using a different and secure mechanism. Some sort of input filter may help you.
  11. I did not go through the entire code. See if this helps... <?php echo "$picture[$num]" . ".jpg"; ?
  12. It looks like you need include(). Use the include() function to include other PHP scripts within your current file. For example, include 'next_script_to_run)'; Also, the if statement appears to have a logical mistake. if ($user==$username & $pass==$password) Notice the == symbol. == is the or operator. You may also use if ($user==$username and $pass==$password)
  13. Have you tried phpinfo()? <?php phpinfo(); ?> Save the above in test.php and access it from the browser. It gives you the information you are looking for.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.