39,402 Topics

Member Avatar for
Member Avatar for mbarandao

Hello, I am using Simpe_html_dom to parse an html table; however, I am having problem getting the content of a <td> that have secondary <table> nested in them. I would like to grab the content of all parent <tr>, each of which contains 3 <td> cells. The middle cell is …

Member Avatar for diafol
0
2K
Member Avatar for lily123

please can some one show me how to view a data from a table (database) using a data range from and to to search

Member Avatar for gabrielcastillo
-2
166
Member Avatar for johnef_sh

0 down vote favorite I am trying to share my products image on Facebook but somethings gos wrong with the URL of the products I used this code on the header of the page (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id …

Member Avatar for johnef_sh
0
296
Member Avatar for johnef_sh

I have many pages which has the same form so I made a page called contactsGo.php and all the forms on the other pages should send to this page what I need is to redirect from contactsGo.php to each page sent the form this is my code <?php $name=$_POST['name']; $email=$_POST['email']; …

Member Avatar for diafol
0
423
Member Avatar for rajendher

hello. can anybody please help me. i am a begineer to php. i want to change mp3 file bitrate . like from 128 kbps to 320 kbps, 256 kbps, 64 kbps,and 48 kbps. anybody help me .. reply more appreciated........

Member Avatar for rajendher
0
567
Member Avatar for Karry.Stewart

I've a site and it has a **News** webpage called something like **www.website.com/news/detail/id/3**. Now when I try to share this on any social media sites it is taking the title of **www.website.com** for any of the news details I share, i.e only one title of the website is being shown …

0
119
Member Avatar for Karry.Stewart

Hi, I've a site and it has a **News webpage**, called something like **www.website.com/news/detail/id/3**. Now when I try to share this on any social media sites it is taking the title of **www.website.com** for any of the news details I share, i.e only one title of the website. I want …

0
105
Member Avatar for jacksantho

Hi, can any body, tell me how to follow the url rewriting using .htaccess. Am using xampp,where can i able to find .htaccess file. How to change/add in the .htaccess file, to get the changed URL in the address bar [url]http://www.example.com?name=value[/url] to change in the address bar as [url]http://www.example.com[/url] Please …

Member Avatar for bathina.gunasekhar
0
8K
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
192
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
287
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
230
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
304
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
474
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
424
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
122
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
400
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
176
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
149
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
867
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
202
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
226
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
131
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
319
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
277
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
282
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
786
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
149
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
192
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
615
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
252
Member Avatar for SPRINGHEEL

What is the proper format for this code? There seems to be a problem with the session variable <?php $r = mysql_query("select * from tbl_student_master where email='@$_SESSION[email]'") or die(mysql_error());

Member Avatar for gabrielcastillo
0
129
Member Avatar for CreatorZeus

I have been racking my brain trying to think of how this would work to no success. Can anyone explain how this could be done?

Member Avatar for JorgeM
0
298
Member Avatar for flevasgr

Hello, i'm trying to solve this problem for 2 weeks with no luck. I'm using sql lite to pull data from my database but it doesnt show up the last item. I've tried to use an other server but again nothing! Even if i try to re-create the database the …

Member Avatar for cereal
0
147
Member Avatar for vishalonne

I was trying to display name and address phone no in mail and I perfectly done it using the following piece of code - </tr> <tr> <td align="left"><p>'.$admin_message['message'].'</P></td> </tr> <tr> <td align="left"><p>Kind Regards</P></td> </tr> <tr> <td align="left"><p>'.ucwords($finance_info['fi_schoolname']). '<br />'.ucwords($finance_info['fi_address']). ' <br /> Email :- '.ucwords($finance_info['fi_email']). '<br /> Contact:- '.ucwords($finance_info['fi_phoneno']).'</P> </td> …

Member Avatar for Tpojka
0
171
Member Avatar for davy_yg

Hello, I have two copies of the same website: one in the localhost and one is online. My offline website generates error after I login to the admin page: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php:9) in C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php on line 52 …

Member Avatar for Borzoi
0
199
Member Avatar for SPRINGHEEL

/*SMS*/ $_objSmsProtocolGsm = new Com("ActiveXperts.SmsProtocolGsm"); $objMessage = new Com ("ActiveXperts.SmsMessage"); $objConstants = new Com ("ActiveXperts.SmsConstants"); $objMessage->Recipient = $cell; $objMessage->Format = $objConstants->asMESSAGEFORMAT_UNICODE; $objMessage->Data = "Your password is: " . $r; $_objSmsProtocolGsm->Device = "HUAWEI Mobile Connect - 3G Modem #2"; $_objSmsProtocolGsm->DeviceSpeed = 0; if( $_objSmsProtocolGsm->LastError == 0 ){ $_objSmsProtocolGsm->Send( $objMessage ); } …

Member Avatar for SPRINGHEEL
0
564
Member Avatar for darne_1

A php code sent a query to the database say credentials from login page for verifying and something was returned say TRUE OR FALSE as status. Now my question is, if I do not know the code of the developer who wrote the login form, does there exist any way …

Member Avatar for pritaeas
0
216
Member Avatar for davy_yg

Hello, I am trying to create a form which could upload image file and copy it to a certain folder and also updating the mysql database which store it's image name and title. input_image.php <div id="menu"> <center> <h2>Image Manager</h2> </center> <p>&nbsp;</p> <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id …

Member Avatar for SimonIoa
0
366
Member Avatar for centenond
Member Avatar for centenond
0
592
Member Avatar for abhijit_2

i am trying to develop my theme and problem about add slider in header so plz tell me how to add image slider in theme

Member Avatar for gabrielcastillo
0
185
Member Avatar for narasimha.chowdary.75

Please Help me I want to enter the values in the textbox of form and save them and when i open the page the value entered should display in th text box if i want to change the value again edit option

Member Avatar for gabrielcastillo
0
102
Member Avatar for Refrigerator

Hi, I'm currently working on a site in which a user basically clicks a button repeatedly, gaining 1 extra point each time he clicks it. Anyway, I'm trying to do a MySQL update so that when the button is clicked, it updates his score in one of the MySQL tables: …

Member Avatar for gabrielcastillo
0
300

The End.