farnoise
Members-
Posts
54 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
farnoise's Achievements
Member (2/5)
0
Reputation
-
Hello All, I have a PHP application which goes through my tables in MYSQL does some cleaning once in a while (Updating record, removing, adding, and etc..) its a PHP application that I wrote uses loop and foreach and gets executed by CroneJob on my server every 4 ~ 6 hours ( twice a day). I haven't run the application for a long time but i am expecting my tables grow in rows in the near future. Here is some concerns that I have. I have set the execution time to 5 min, in my application I have a garbage collector and I make sure that every time a single row gets affected I free up the Variables, Sessions, and etc.. at the end of each process for the row then move to the next row and repeat... (so you see if I have 900 rows, it keeps executing few commands for each row frees up everything goes to the next row till the end stops). Do you guys see any problem with this?? Again as my rows are growing I prob need to increase the Exc time since my app already running for about 3 ~ 4 minutes... Do you see any problem? Any alternatives ?? My server is Linux, Should I get into Linux commanding itself rather than PHP? (I have very little knowledge on Linux) Oh, And if you think its ok as long as i free up memory in the function, is there a way that I force PHP time to MAX ? Thanks so much, sorry for the long post
-
Hi, I am working on an application that sends request to few sites and shows the result on a a page which is separate from those host sites (it doesn't frame the results). So, to be more specific imagine expedia that takes user's query and cross checks with Airline websites and gets their fares and shows them on the result page. What I am thinking is getting those results from my host sites, compile them into an XML then show the result. Is there anyone that can direct me to the right direction?? Thank you so much
-
Hi There, I am trying to this trick with PHP that get the last Value of the URL that the user enters in the Address bar in the browser (Not that that this is not a form) and use that value. for example I have a index page that starts with the code to do trick, then your comes to my website www.abcded.com/username So what I need to do is take the value which in this case is "Username" so I can use it, and as you know in normal case it will look for the folder called username under my root folder. Thanks,
-
Hey Guys, I have a question here and I'm strugling with it, what I am trying to do is redirecting the user as soon as he opens the page to a HTTPS pagefor example. I have a really long URL for my email loginpage so instead of giving user long loink with port number and stuff I have this address "http://company.com/mail" and actualy under this mail directir there is a index.php with this code <?php header('Location: https://ssl.company.com/crm/webmail/this/location'); exit; exit(); ?> it works great but the problem is it send the user to the NONE-Secure page (HTTP) instead of the secure... Does anyone know how can I go around this?! Thanks
-
Hi All, I'm trying to insert a HTML code into one of the fileds so when you load the page it reads that code and shows you the picture that code is pointing you as you can see below but the problem is I have too many " and ' s so PHP wont pass it. $name = $_POST['name']; $title = $_POST['title']; $ext = $_POST['ext']; $cell = $_POST['cell']; $sec = $_POST['sec']; $emp = $_POST['emp']; $con = mysql_connect("localhost","root","PA55ss"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("movedb", $con); $sql="INSERT INTO sheet1sa (ext, F2, cell, name, dep, F6, empno) VALUES ('$ext', '$sec', '$cell', '$name', '$dep', '<img src='./pics/$empno.jpg' width="80" height='90' />", '$empno')"; BTW i need to make this code so it takes the "empno" value and insert it into that code before .JPG so when browser reads my database it will read it as "./pics/777788.JPG" Thanks for your help
-
Hey guys, I have a Joomla website that uses a really fancy template hence users with IE less than 7 are having lots of troubles, so now I'm looking for a script that detects user's browser and using IF statment let him pass or just show a error msg that your browser is not capable and suggest Google chrome or upgrade .. somthin like Youtube's Any help would be so much appriciated
-
Hi I have this simple java that generates a SIN number, I wonder How can i transfer the Value to my PHP page that do the insert DB function, Right now I have user to copy / paste the value into the text box and I have to retrieve the text box value in my PHP page and use it as a PHP variable.. I hope I make sense <div align="right"><script language="JavaScript"> random_num = (Math.round((Math.random()*96120152)+90.83187)) document.write(random_num); </script> <input name="sn" type="text" id="sn" size="14" /> <br /> <span class="style20">(Copy & paste the number into this field)</span></div></td> </tr> <tr>
-
I really don't know about those companies but I'm not looking for that kind of programs, what I need is a open source since I want to design a Video Conferencing for our company
-
Nope! I tried video whisper wasn't too bad! but has lots of bugs.
-
Sorry but if I'm not misunderstood, You mean why I'm not using PHP's send mail function? Well this is the main reason that I have this server up and running because we don't want to use outside sources and we don't want to open any port to outside word so I have this server up and running then we can have all transitions inside our network, And it's clearly visible that there is absolutely no security concern with this method but it's just the IT security Div, are overreacting. btw I guess I got my answer from your first post, I just need to clarify that this is not a SMTP service I really appreciate your helps Andrew and thanks again Arad
-
I understand that is not a security concern but the problem is our company's IT HQ is asking us to shut down our Apache server, cuz they think this module is a security concern, plus the main reason that I started this server in my Division was I needed a mail() function to deploy couple emails everyday to some people. So now I have to come up with a report to prove that it's not a BIG DEAL really just a simple module Regards
-
PS: I know its too much to ask but could you please provide any references and or reasons for your responds. Regards
-
Hi, I have a quick question I hope you guys can help me, I'm writing a report on Tomcat and Apache server but there is something that I really don't know about. I wonder if anyone can help me the Security disadvantages of HTTPD.exe service on a local network(The network that is connected to the Internet through a Gateway imagine a big company's network), first of all can any one access my HTTPD.exe to send spam emails to the global address book and secondly what are the real critical risks of having this service unable on our network? Thank you all for you helps
-
1- I understood that I have to substitude but as You can see I dont need to direct them to any page simply want to SEND THEM BACK TO THE REFFERER LINK! 2- I NEED to show the message!
-
Thanks for reply but there are 2 things! 1- what is NEW_PAGE.HTML I dont want to specify any page, I just want PHP to return the user to the page he was before Example: if someone is in the Index3.php page and clicks log out ==> Log him out show the log out message and take him back to Index3.php and if someone is in the Index2.php page and clicks log out ==> Log him out show the log out message and take him back to Index2.php 2- If I sepcify header in my file I cant hsow them logout messag, It takes user directlyto the header page Thanks