Jump to content

paul2010

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

paul2010's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for your replies, sorry I didn't post any code but I wasn't just looking for someone to give me all the code as I know all to well that nothing will be learnt. Problem I think is now fixed, using cURL.
  2. echo $row['ApplicationStatus']; insert where you want the date to be shown.
  3. I am trying to build an app which will scan a site multple times, the only problem is the 403 error, how do I get around this. Searching seems to imply curl or user_agent, but can't get it working. Any suggestions? Thanks
  4. What is the best way of building PHP applications, I have seen some made where everything gets send through the index.php in the root/htdocs directory, but I've also seen separate folders being for different sections. Which is the best? or how do people decide? Thanks
  5. I was hoping that would be the case. But I think that objective c likes you to release all variables as part of memory management? Thanks
  6. Thanks for your reply. Do variables need to be unset after they are finished with or will PHP do that automatically? Thanks
  7. Just a few questions about good programming practice in PHP coming from a Java background. How important are getter and setter functions or is it acceptable to use to just have a variable set to public? what is the scope of a variable inside a private a function? is it best to declare all variables as private and when using them inside a function use $this->name ? Thanks
  8. What is the & symbol used for I have seen it in function setname(&$name){ $this->name =& $name; } Thanks I have looked on google and can't find it as i don't know what it is called. thanks
  9. I'm trying to make an array which is stored in a session, the array can then be extracted from the session and more elements can be added to the array. Here is what i have so far.. if someone could help me as to where i am going wrong it would be appreciated thanks <?php session_start(); $id = $_GET['ncd']; if(isset($_SESSION['a'])) { $narray = $_SESSION['a']; } $narray = array(); array_push($narray, $id); $_SESSION['a'] = $narray; echo $narray; ?>
×
×
  • 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.