Jump to content

timlondon

Members
  • Posts

    52
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

timlondon's Achievements

Member

Member (2/5)

0

Reputation

  1. How do i set the following cookie: $details = "this is the content"; setcookie("bobbly", $details, time()+100000, '/'); but without the time parameter? I've tried a few combinations including setcookie("bobbly", $details, '/'); but i have yet to find a syntax which works. I'm sure if probably very simple. Any help would be greatly appreciated.
  2. Hi guys, any help would be appreciated with the below problem. I am attempting to use CURLOPT_POSTFIELDS to send a variable from originator.php to receiver.php but originator.php just hangs. No errors are reported and i know that the problem lies with curl because if i comment-out the entire curl section then the end echo "finished" is displayed and the script terminates. originator.php: $ch = curl_init("http://www.testdom.com/originator.php"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "testvar=piggies"); $resp = curl_exec($ch); echo $resp; curl_close($ch); echo "finished"; receiver.php: ob_start(); $tv=$_POST['testvar']; my server has the following: libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
  3. I've increased the memory_limit to 128 but the problems still there. I think i've isolated the problem to a copy failure. $newname="../../mbr/".$fl."/".$detail[0]."/Imagetmp/".$image_name; $copied = copy($_FILES['image']['tmp_name'], $newname); if (!$copied) { echo 'Copy failed!'; exit; } The above works fine when uploading images under 2mb. But any image over 2mb gets a coy failure.
  4. do you mean the ini files resource limits? They are set to: max_execution_tim = 30 max_input_time = 60 memory_limit = 32M
  5. I'm having problems using GD to resize large images (2mb +). Is GD the best way forward for this or should i be using something like Imagemagick?
  6. I need to pick up an email address from mysql and send an email but I don't want to use mail() due to the problems with hotmail not receiving them. Any suggestions on a different method and any good tutorial links????
  7. If i use sessions how does the php mask the page url. To be more specific, if I'm employing sessions on www.whatever.com and I visit www.whatever.com/whatever.php the browser only displays the address www.whatever.com. How is this achieved if I wanted to do this without using sessions. How do I mask the address like this?
  8. If I use index.php instead of index.html will I lose my meta keywords and description when the google bot appears????
  9. I have a problem sending mail() to hotmail accounts. The emails don't arrive at all (they don't arrive in the inbox or junk folders). The script works fine sending to any address other than hotmail. I've searched these forums and the web and others seem to have the same problem but no one appears to have a solution. Is anyone aware of this (and a solution)???
  10. Are there any reputable messageboard packages which anyone could recommend. It would need to be php/mysql based.
  11. The problems with chukleslondon. That folder was created by mkdir and chmodded to 777. The script then tries to create a subfolder within chuckleslondon but it simply wont do it.
  12. timlondon

    GD

    How do i check if gd is installed?? Shouldn't it be present in the php.ini??????
  13. Sorry effigy, I was delayed dealing with this problem. I've ran the above and got the following: path: members perms: 0777 user/group: harlow/apache path: members/c perms: 0775 user/group: harlow/apache path: members/c/chukleslondon perms: 0777 user/group: apache/apache I'm assuming that my problem is with the user apache??? If so am I correct in thinking that this is something that my host can resolve??? Am I also correct in the assumption that theoretically I can use mkdir to create a folder and then use mkdir to create a subfolder within that folder???? My host is being very unhelpful so I think I need to go back to them armed with some facts. Your help is much appreciated.
×
×
  • 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.