Find Jobs
Hire Freelancers

PHP / MySql changes to existing code

R115-200 ZAR / hour

Stengt
Lagt ut nesten 10 år siden

R115-200 ZAR / hour

QUERY 1 The following script updates an on-line form. This form contains file-type entries (1 picture and 2 PDFs') and text entries. A. In the following PHP code, what changes need to be made in order NOT to update FILE-TYPE entries when MySql corresponding fields already contains a prior entry (or is not empty in other words)? B. In the following same PHP code, what changes need to be made in order to update a TEXT entry when MySql corresponding fields already contains a prior entry and the user later clears the TEXT input field after having already saved a prior entry in the form. <?php foreach ($_POST as $key => $val) { $_POST[$key]=filter_input(INPUT_POST, $key, FILTER_SANITIZE_SPECIAL_CHARS);} include("[login to view URL]"); $bouton='Submit'; $uniqueid=$_POST["email_address"]; $photocheck=$_POST["photo"]; $image=$_FILES['photo']['name']; $image2 = "$uniqueid$image"; move_uploaded_file($_FILES["photo"]["tmp_name"], "upload/" . $image2); $divorce=$_FILES['divorce_order']['name']; $divorce2 = "$uniqueid$divorce"; move_uploaded_file($_FILES["divorce_order"]["tmp_name"], "upload/" . $divorce2); $marriagecertificate=$_FILES['marriage_certificate']['name']; $marriagecertificate2 = "$uniqueid$marriagecertificate"; move_uploaded_file($_FILES["marriage_certificate"]["tmp_name"], "upload/" . $marriagecertificate2); $recu=$_POST; $titre=""; $contenu=""; $reqComplete=""; foreach ($recu as $titre => $contenu) { $contenu=trim(addslashes($contenu)); if($titre!=$bouton AND $contenu!="") { $reqComplete.=$titre."='$contenu', "; } } $reqComplete=rtrim($reqComplete, ", "); $conn = mysql_connect("localhost","epermit_martin","xxxxxxxxxxxx") or die("Could not connect to database"); $rs = mysql_select_db("epermit_immigDB",$conn) or die ("Could not select database"); $requete="UPDATE form1738 SET $reqComplete where email_address = \"$email_address\""; $resultat=mysql_query($requete) or die ("Invalid request : <br /> ".mysql_error()); $requete="select max(idimmigDB) from form1738"; $rs= mysql_query($requete,$conn); $row=mysql_fetch_row($rs); $_SESSION[id]=$row[0]; #insert picture in db with unique identifier $sql2 = "update form1738 set photo = \"$image2\" where email_address = \"$email_address\""; $rs2 = mysql_query ($sql2) or die ("Invalid request : <br /> ".mysql_error()); #insert pdfs in db with unique identifier $sql3 = "update form1738 set divorce_order = \"$divorce2\" where email_address = \"$email_address\""; $rs3 = mysql_query ($sql3) or die ("Invalid request : <br /> ".mysql_error()); $sql4 = "update form1738 set marriage_certificate = \"$marriagecertificate2\" where email_address = \"$email_address\""; $rs4 = mysql_query ($sql4) or die ("Invalid request : <br /> ".mysql_error()); mysql_close($conn); header("location:[login to view URL]"); ?> QUERY 2 How to generate an access code which customers must buy on-line in order for them to access and use the website, [login to view URL] QUERY 3 Is this an appropriate time-out script? <?php session_start(); # Check for session timeout, else initiliaze time if (isset($_SESSION['timeout'])) { # Check Session Time for expiry # # Time is in seconds. 10 * 120 = 1200s = 20 minutes if ($_SESSION['timeout'] + 10 * 120 < time()){ session_destroy(); header("Location: [login to view URL]"); } } else { # Initialize time $_SESSION['timeout']=time(); } ?>
Prosjekt-ID: 6199863

Om prosjektet

20 forslag
Eksternt prosjekt
Aktiv 10 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
20 frilansere byr i gjennomsnitt R165 ZAR/time for denne jobben
Brukeravatar
Greetings from Panacea (an ISO 9001:2008 certified company) We have gone through the project description and can help you to make the changes in the code provided. We are PHP, MySQL experts and like to work with you for this project and help you for the database and coding related aspects. Kindly come over discussion so we can discuss this and get started on your ongoing works. Thanks best1
R206 ZAR om 20 dager
4,8 (183 omtaler)
9,6
9,6
Brukeravatar
I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactorily completed. I estimate a 24-48HR turnaround (including weekends) on this project. ftp details to your site will be required. Contact me at your soonest convenience so we may get your solution delivered quickly. Thanks, coderXO
R300 ZAR om 3 dager
4,9 (614 omtaler)
8,1
8,1
Brukeravatar
Dear Sir, Thanks for posting your requirement at Freelancer.com, we have gone through your initial requirement and i would like to inform you that we are capable for your requirement. We have staff of 60+ and each of having 5+ years of experience. We have been in this industry from 11 years now and we have successfully completed more than 3000+ web & mobile application. Please invite us for further chat so i can share with you our portfolio and other detail. Looking forward to hear from you soon. Thanks & Regards Vikas Parmar
R165 ZAR om 3 dager
4,9 (132 omtaler)
7,2
7,2
Brukeravatar
Hello, Thanks for your post ! ......We would be interested to help you with the requirement. ....We are a CMMI Level 3, ISO 9001, 2008 and Microsoft certified outsourced software Development Company. We carry a strong portfolio in technologies like .Net, Java, iPhone, Titanium, PHP, Wordpress, Joomla, Magento, and other open-source technologies. .......We are well experienced in working on hourly basis & we always prefer this over fixed price ......We would assign a designer completely dedicated to your project and he will work on the code provided and generate an access code which customers must buy on-line in order for them to access and use the website, epermit.co. also he will make the timer work integrated ......He will be in your direct contact via email, skype or call. ..........We will provide you a progress report of the project on a daily basis. ….Once we initiate a dialogue, we can discuss all relevant queries and move towards providing you the best....PREVIOUS WORK: : I would appreciate if you could open our SHOWCASE to judge our skill & expertise..http://showcase.otssolutions.com..Username: otssales and Password: @ts4737..Regards Ashish..
R144 ZAR om 40 dager
4,6 (16 omtaler)
6,8
6,8
Brukeravatar
Hi sir, My name is Leonardo Medina, and I´m from Brazil. I have lots of experience in PHP. Please drop me a line, so we can discuss this project in details and I can make a proper bid. I'm an experienced Web Developer / Software Developer working since 1996 in this field, with 5+ years experience in PHP, ASP, HTML, CSS and Javascript (JQuery & Ajax), 8 years in Delphi and 1 year in Java, 2 years of experience in programming stored procedures, triggers, creating tables and relationships for SQL Server, and 10 years in mySQL; 2 year in Solr/Lucene (for full-text searches), Redis and CouchDB. Looking forward to hear back from you. Best Regards
R222 ZAR om 3 dager
4,9 (96 omtaler)
6,4
6,4
Brukeravatar
checked this requirement,and i think we can easily handle this requirement,i will tell you something about my team, Have a team of 34 professionals,with more then 11 year of experiecen,worked in php/mysql,LARAVEL-4,Symfony-2,Cakephp 1.2,1.3,2.x,html,html-5,bootstrap, we can start this project as soon as possible.
R115 ZAR om 40 dager
2,1 (23 omtaler)
6,6
6,6
Brukeravatar
Greetings, Thank you for giving us a chance to bid on your project. We have looked at your project specs and we are confident that we can deliver you robust and reliable solution. We have successfully completed more then 250 websites in past few years. Please send a message on PMB and i will send you our portfolio so that you can see how many satisfied customers we have also and we can discuss the project in more detail. Thanks Addy
R157 ZAR om 10 dager
4,9 (21 omtaler)
5,9
5,9
Brukeravatar
Hello Sir / Madam, We have read your project description and we would be more than happy to do this project. and come up with excellent result at the end. we are fast and reliable. We have expertise on PHP, MySQL, WordPress, Codeigniter, E-commerce, AJAX, OOPS, HTML, DHTML, HTML5, designing [ LAMP/WAMP ] and we have best programmer and designer skills. we can provide you the best services and make you experience the fastest development for your project. We hope to get your revert to me positively soon. Thank you. With regards, Zub.
R175 ZAR om 40 dager
4,8 (48 omtaler)
5,8
5,8
Brukeravatar
Greetings!! Let me take this opportunity to introduce myself, I am Abhishek here. I have good track record of designing compressive solutions ranging from Social Networking, E-Commerce, Real Estate, Healthcare, Travel and Job Sites since last 4 year. I have gone through your project specification and understood that you are looking for PHP developer. I am happy to inform you that I can work on your projects as I have core competency/expertise in PHP, MVC, OOPS, jQuery, javascript, ajax, wordpress, html, html5, css, psd, html, html5, psd to html, mysql and Yii framework. I have long clientele across the globe with great success stories. Eagerly waiting for your positive response and more details about the project. Thanks & best regards Abhishek
R166 ZAR om 45 dager
4,9 (50 omtaler)
5,1
5,1
Brukeravatar
Hello, read your requirement and we are willing to make the changes to existing PHP & MySQL code. We have a great team to CorePHP and MySQL developers who can fulfill this task. Provide us with FTP details and we'll make the changes for you. Ready to start right away. Looking forward to work with you. Thanks!
R116 ZAR om 20 dager
4,6 (10 omtaler)
3,4
3,4
Brukeravatar
I represent a team with 6+ years of domain experience in PHP and MySql and more than 5 years of experience in Wordpress development. Our team is also specialized in HTML, CSS, Jquery, Ajax and design frameworks like Bootstrap and Foundation(Zurb).
R175 ZAR om 3 dager
5,0 (3 omtaler)
3,1
3,1
Brukeravatar
Dear Sir, Thanks for posting your requirement at Freelancer.com, we have gone through your initial requirement and i would like to inform you that we are capable for your requirement. We have staff of 60+ and each of having 5+ years of experience. We have been in this industry from 11 years now and we have successfully completed more than 3000+ web & mobile application. Please invite us for further chat so i can share with you our portfolio and other detail. Looking forward to hear from you soon. Thanks & Regards Vikas Parmar
R175 ZAR om 5 dager
4,4 (2 omtaler)
1,4
1,4
Brukeravatar
Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have checked your requirements. We have right skills to work on this assignment. We are a team of professionals including experienced analysts, designers, project managers, developers and QA people having great expertise in web applications development mainly on core PHP, PHP with open sources (Joomla, Wordpress, Codeigniter, Cake PHP), .NET, Asp.NET, Vb.NET, HTML 5 etc. and mobile applications on ios and Android platform. Our award = superb result = happy client. In a good partnership, good results happen. Good cooking makes good eating!BWe consider our client as our partner. can u provide your email or sky-pe etc for further discussion about the project with best Regards
R175 ZAR om 35 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
A proposal has not yet been provided
R175 ZAR om 3 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

SOUTH AFRICAs flagg
South Africa
0,0
0
Medlem siden jun. 21, 2014

Klientbekreftelse

Andre jobber fra denne klienten

Write some Software
R5250-10500 ZAR
Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.