westman
-
Posts
600 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by westman
-
-
I have, please see earlier posts.
-
I have no errors.
the page just loads like I have no internet connection.
-
any help?
-
- .htaccess is empty
- phpinfo(); i posted
- PHP5.ini looks like this...
register_globals = offallow_url_fopen = offexpose_php = Offmax_input_time = 60variables_order = "EGPCS"extension_dir = ./upload_tmp_dir = /tmpprecision = 12SMTP = relay-hosting.secureserver.neturl_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="memory_limit = 221Mpost_max_size = 220Mfile_uploads = Onupload_max_filesize = 220Mmax_execution_time = 7200max_input_time = 7200session.gc_maxlifetime = 10800 -
Hello everyone,
I hate to reopen this but in the last few days I have noticed that my upload is not working and it's also very slow before failing after 2-3 minutes.
I have not change my code but i have changed phpinfo.php
In my phpinfo.php I now have...
max_execution_time 7200
max_file_uploads 20
max_input_nesting_level 64
max_input_time 7200
memory_limit 221M
post_max_size 220M
upload_max_filesize 220M
any help?
-
-
-
-
-
-
-
-
Hi all,I think I have a session problem.When my site is not busy, I can stay logged in for days.But when my site is busy I get logged out within an hour.My server is running PHP 5.2Here is my start session code...
session_register("id");$_SESSION['id'] = $id;session_register('idt');$_SESSION['idt'] = base64_encode("j4p3q9w8s5rq5g3hs34$id");session_register('username');$_SESSION['username'] = $username;session_register('userpass');$_SESSION['userpass'] = $userpass;session_register('useremail');$_SESSION['useremail'] = $useremail;
Here is my check session code...session_start();if (!isset($_SESSION['id'])) { header("location:../index.php");exit(); }if (!isset($_SESSION['username'])) { header("location:../index.php");exit(); }if (!isset($_SESSION['userpass'])) { header("location:../index.php");exit(); }if (!isset($_SESSION['useremail'])) { header("location:../index.php");exit(); }if (!isset($_SESSION['idt'])) { header("location:../index.php");exit(); }if (isset($_SESSION['idt'])) {$id = $_SESSION['id'];$idt = $_SESSION['idt'];$username = $_SESSION['username'];$userpass = $_SESSION['userpass'];$useremail = $_SESSION['useremail'];$decryptedID = base64_decode($_SESSION['idt']);$id_array = explode("j4p3q9w8s5rq5g3hs34", $decryptedID);$trueid = $id_array[1];if ($trueid != $id){header("location:../index.php");exit(); }else{$logincheck = "1";}$trueid = mysql_real_escape_string($trueid);$iduserpass = mysql_real_escape_string($iduserpass);$id = mysql_real_escape_string($id);$sql2 = mysql_query("SELECT * FROM mem WHERE id='$trueid' AND password='$userpass' LIMIT 1");$numRows = mysql_num_rows($sql2);if ($numRows = 1) {$logincheck = "1";}else{header("location:../index.php"); exit(); }while($row = mysql_fetch_array($sql2)){ $usernameck = $row["username"];$useremailck = $row["email"];if ($usernameck != $username){header("location:../index.php");exit(); } if ($useremailck != $useremail){header("location:../index.php");exit(); } }}
any help?
-
-
-
-
-
-
hi all,
I am trying to subtract one time from another. here is what i have....
In my DB i have datetime (2013-07-19 16:36:18)
$time_to_subtract = '1';$time1 = date("Y-m-d",time() - (60*60*$time_to_subtract));if ($time1 > $time_in_DB){$update = 'Hello world';}
here i am trying to take 1 hour away from the time in my DB.I have tried testing my script but i have to wait over 24 hours to see the outcome.
any help?
-
it was line break.
thank you.
-
i can not fine the problem.
i am outputting from php while loop...
$list_body .= '<div class="boxHeader" align="left"> <a href="#" title="News" onclick="return false" onmousedown="javascript:toggleNewsContainers('view_news'); javascript:itemname('' . $news_title_3 . ''); javascript:iteminfo('' . $news_info_3 . '');">' . $news_title_3 . '</a></div><br />';}
it can output sentences fine but paragraphs is a problem.
-
hi all,
I am using ...
function iteminfo(theinfo) {var infoitem1 = theinfo;outinfoitem = document.getElementById("info_of_news");outinfoitem.innerHTML = infoitem1;}
to pass a string (readable text for users) but the string i am passing has a character limit.
how do i up the limit so i can send a paragraph of text instead of a sentence?
-
mass email
in PHP
thank you
-
mass email
in PHP
could i get some more info on PEAR or an example? I have PEAR installed.
shearing info from one site to another
in PHP
Posted · Edited by westman
hi all,
I am trying to get a file to run from one of my sites and send the info to my other site.
this is my code...
mysite1.com
mysite2.com
at you can see it is not working and I don't know why.
any help?