39,316 Topics

Member Avatar for
Member Avatar for $urya

Hi all, Today I read a thread by QWaz that just have been marked as solved. So, I think I should start a new thread with a prefix Tutorial as you are reading now. I'm going to cover in this tutorial are: - Create a directory after registering a new …

Member Avatar for bathina.gunasekhar
0
2K
Member Avatar for chaitu11
Member Avatar for eddstyson

when i click upload button, it takes long to load wthout csv, but when i upload csv it dispays csv pocessed..but there is no data uploaded...what could be the wrong with my code?...please assist me <form enctype="multipart/form-data" method="POST" action="" > <input type="file" name="file" /><br /> <input type="submit" value="upload csv" name="submit"/> …

Member Avatar for eddstyson
0
189
Member Avatar for shehnaz20

please help me to generate maps based on given values from the database(eg longitude and latitude,depth,salinity etc) please help me wid the code.

Member Avatar for veedeoo
0
176
Member Avatar for Valentina_1

Hello, my website is created almost intirely in php, its dynamic and we have everything working under mysql database. It has printable cuppons for free, the coupons are inside a form, everything works perfectly. Now im trying to find a (php preferably) script that will count how many times that …

Member Avatar for JorgeM
0
285
Member Avatar for Simon180

Am trying to access a text file from one apache server to a other but i get following error Warning: file_get_contents(http://popx.mplayer.biz:7999/web-cronjobs/data/updates/updates_today.txt) [function.file-get-contents]: failed to open stream: Connection refused in /home/mplayerb/public_html/index.html on line 227 but yet i can access the file just fine by typing url into my browser <?php $updates_file …

Member Avatar for Simon180
0
225
Member Avatar for shehnaz20

please send me the code to generate an auto mail once the user clicks on the register button my register fields are first name,last name,date of birth,emailid i need the code to generate the password from the form information and send password and username to this emailid provided by the …

Member Avatar for iamthwee
0
299
Member Avatar for CarterLangley

I have got this code from an article on secure login systems. I know basically nothing about php so I would like to know if this is good code to use? Part 1 of 8: Configure Your Server 1. 1 Install a Web Server, PHP and MySQL on your server. …

Member Avatar for kidmizere
0
3K
Member Avatar for mwenyenia07

How can I convert a date earlier than 01-01-1970 to integer ? strtotime(); function waorks fine for dates later than 01-01-1970 but brings a negative value for dates like 05-07-1942 Thanks

Member Avatar for cereal
0
411
Member Avatar for everton.retweets

Hi Everyone, I am looking for some help with a htaccess rewrite rule. At the moment I have RewriteRule ^(.+)$ /profile.php?slug=$1 [QSA,L] As one rewrite rule in my htaccess file, this works as expected and rewrites my url to domain/user-name (profile.php is in my root domain) What I am trying …

Member Avatar for everton.retweets
0
367
Member Avatar for kannan mangalar
Member Avatar for davy_yg

Hello, I was wondering about this: [Popular Sites Programming Language](http://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites) Is it possible to program all those popular sites just using PHP ? I was just wondering (never really actually program websites using C++ / Java before - don't even know if you could such language to program websites)

Member Avatar for diafol
0
118
Member Avatar for punith_1

hi i'm new to php but i tried to make my own edu website but i'm facing lot of problem to fetch the result using php external site is about one of the Engineering university where 10k students result will be displayed by this website bcoz of this its server …

Member Avatar for diafol
-4
2K
Member Avatar for FOYSAL_1

Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" content="mainlogo_title.png"> <title>SEA TURTLE NEST MONITORING RECORD</title> <link rel="shortcut icon" href="mainlogo_title.png" type="image/x-icon"/> <link rel="stylesheet" href="css/link.css" /> <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" …

Member Avatar for diafol
0
393
Member Avatar for SimonIoa

I Have a problem with saving a photo. When i put <form action="" method="post" enctype="multipart/form-data"> i saves the photo on the path but it doesnt saves it on the database. Althought the other values are saved (title,date, id etc). When i put <meta http-equiv="Content-Type" content="text/html"> <form action="" method="post" enctype="multipart/form-data"> the …

Member Avatar for diafol
0
175
Member Avatar for mbarandao

Hello, I have the following array Array ( [0] => Array ( [cName] => 'Lexington Table Tennis Club (9/30/2014)' [local] => 'Castlewood Gym 201 Castlewood Dr. Lexington, KY 40505' [days_times] => 'Saturday - 2:30 - 6:00PM and Sunday - 9:15AM - 12:00PM' [contact] => 'Babak xxxx 859-xxx-2498' [marker] => '<-----CLUB …

Member Avatar for mbarandao
0
147
Member Avatar for chaitu11
Member Avatar for Borzoi

Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is …

Member Avatar for Borzoi
0
852
Member Avatar for vishalonne

Hello Below is the code by which I trying to get AGE of students as on 31-March of current year in this format -> 6 years, 3 months, 14 days. But I am getting differnece in Days. I checked the age from this site [http://www.calculator.net/age-calculator.html ](http://www.calculator.net/age-calculator.html) Example 1. 19-12-2007 should …

Member Avatar for diafol
0
199
Member Avatar for mbarandao

Hello, I am building a multidimensional array with the following code: $array_two = array(); $arrayIndex=0; $loopCount=0; $second_index=""; foreach ($result as $myValue) { $loopCount = ($loopCount<5) ? $loopCount : 0; switch ($loopCount) { case '0': $second_index="cName"; break; case '1': $second_index="local"; break; case '2': $second_index="days_times"; break; case '3': $second_index="contact"; break; case '4': …

Member Avatar for mbarandao
0
2K
Member Avatar for mbarandao

Hello, I have the following array: Array ( [2] => Champlain Valley TTC(1/31/2015) [5] => Old Shelburne Town School5420 Shelburne RdSherburne, VT 05482 [6] => Friday - 6:30 - 10:00PM [9] => Jack Devine802-877-3341 [10] => <-----NEXT_CLUB -----> [13] => Green Mountain Table Tennis Club(GMTTC)(6/30/2014) [16] => Knights of Columbus …

Member Avatar for mbarandao
0
222
Member Avatar for centenond

so want to auto create a whole html page i was thinking like this $newhtml = '<html><head></head><body>'.$variable.'</body></html>'; file_put_contents ('file.html',$newhtml); this would be the proper thing to do?

Member Avatar for centenond
0
127
Member Avatar for theonlylos

I currently am moving a client site from Joomla 1.6 to Joomla 2.5 by hand due to a malware infection (I don't normally do this for clients but they specifically requested me) and while I was able to move the data, I'm not able to get their custom template to …

Member Avatar for theonlylos
0
317
Member Avatar for gyno

I use Microsft Vista OS on my system,so getting started with my PHP programming has been my challenge since last month that i had choose to lay hands on PHP programming,majorly because MySQL refused to run in the XAMP server i have installed on my system. i have try various …

Member Avatar for gyno
0
273
Member Avatar for eloginko

As you can see my current code doesnt work and i need your help guys...i want to filter in my search(textbox) and show the data filtered in there corresponding textboxes...can anyone help make my code work?? i've been looking in google for days already for the same idea of my …

Member Avatar for eloginko
0
277
Member Avatar for chrisschristou

hello everybody i have a form where require user email to be submit, for it i have made client side behavior, if email field is empty js alert the following currend is alert, but i want to show in popup (alert window) a div who allow users to login in …

Member Avatar for chrisschristou
0
772
Member Avatar for davy_yg

Hello, I am trying to show an uneditable text through an input textbox. The following input text box is still editable, how to make it uneditable? <td>Page</td> <td><input type="text" size="50px" name="page" value="<?php echo $page; ?>"/></td> Thanks before.

Member Avatar for cereal
0
145
Member Avatar for centenond

why this wont work? if ( file_exists($_SERVER['DOCUMENT_ROOT'].$dirfromroot)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } also tried if ( file_exists($imgloc)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } Thanks!

Member Avatar for centenond
0
191
Member Avatar for marifard

Hi, Hope you are ok. I made a website to recieve donations in from other people. It is possible to check if this coding hereunder are working or not? Thanks for your help. Donation page: <?php require "config.php"; require "dbconnection/connection.php"; // Determining the URL of the page: $url = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER["REQUEST_URI"]); …

Member Avatar for marifard
0
582
Member Avatar for ebanbury

Hi I'd like to send one email to the registered user and a seperate email to the Administrator, with a separate body. I thought I could just duplicate the mail() but now neither email is being sent. Email 1 - Activation Email to the Registered User $to = "liz.banbury@gmail.com, ".$reg_email; …

Member Avatar for ebanbury
0
251

The End.