39,393 Topics

Member Avatar for
Member Avatar for rouse

I was taking a tutorial on PDO with PHP and MySQL and noticed I could not generate an exception from this code. I wonder what setting I need to put in place to generate the exception. If I shut down MySQL I can generate an error but with MySQL running …

Member Avatar for rouse
0
306
Member Avatar for tom.vardy.12

Any ideas why the get variable after this .htaccess redirect is unobtainable? RewriteCond %{REQUEST_URI} !^/admin/editsale.php RewriteRule ^admin/editsale/(.*)$ /admin/editsale.php?reg=$1 [QSA,L] Many Thanks Tom

0
98
Member Avatar for t_thakar

Basically I am woking on this project where I have been given an api. the maximum number of times i can access is 20 calls per second I need to call this api say 500 times I can do simple loop which is foreach($test as $call){ //call api using $call …

Member Avatar for t_thakar
0
177
Member Avatar for grakovski

Hello, i have SAMP (san andreas multiplayer) server and hostname is on cp1251 or cp1252 (i dont know) Here is output: Áúëãàðñêè Òðúêèíã Ñúðâúð! but right way is: Български Тръкинг Сървър! Here is 2cyr site: http://2cyr.com/decode/?lang=en (i checked first name in them) The string which is needed to check is …

0
146
Member Avatar for sidfarkus

I using Phpredis and am trying to get information from the following key called "statHistory" I am new to redis and not sure how to call each value individually. I am able to connect to redis using php and have tested it using the ping command. It has been two …

Member Avatar for diafol
0
308
Member Avatar for bibiki

Hi there, I am having difficulties with integrating [datatables](http://datatables.net/). Somehow, my data is being lost/weirdly modified when putting it in my response variable. foreach($aaData as $aData) echo "-".$aData."<br>"; foreach($aaData as $aData) $response['aaData'][] = $aData; My first foreach loop outputs data, and what I see is what I expect. However, when …

Member Avatar for bibiki
0
222
Member Avatar for momonq1990

my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page.

Member Avatar for momonq1990
0
739
Member Avatar for ravi142

I am Learning so Can suggest some code. How can i add Multi select Box in Codeigniter. Thank You

Member Avatar for liamfriel
0
6K
Member Avatar for tsp003

I've searched the internet for a solution to this problem, to no avail. I'm getting an increasing number of complaints that, as the title says, my joomla sites are displaying as 503 errors in windows phone 8. HTTP 503 service unavailable. I've tested it on a lumia 1520 and I …

0
166
Member Avatar for davy_yg

Hello, Other people try to access my xampp web through my ip address in my private network but unable to do so. How to make it work? I already try to reinstall my xampp yet it still does not work. Is there any specific way to make it work? Thanks …

Member Avatar for veedeoo
0
384
Member Avatar for madan879

Hi, Anybody integrated amadeus api with php? Please any one help me to integrate in my php website.. I am new to amadeus API, actually i got WSDL and XCD files but i am getting error while using.. So please provide me any sample coding for " hotel list" or …

Member Avatar for chrishea
0
214
Member Avatar for abyjibu

I want to install php package offline. We have to run projects without using or starting localhost. How to use it

Member Avatar for pritaeas
0
138
Member Avatar for ImaComputerLuvr

I need help to eliminate the errors Im getting. I have a shopping cart that is displayed on the products page by way of a cart update page. I get the below pair of errors (Notices) for every product listed: Notice: Undefined variable: obj in C:\xampp\htdocs\Project2\browseproducts.php on line 89 Notice: …

Member Avatar for broj1
0
404
Member Avatar for junaid_5

Hi i have this image upload script, its giving me errors. this script should get description of the image from user and upload image to database. please someone could take a look at my code. i really messed up the code. i am puzzled now. <?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > …

Member Avatar for broj1
0
142
Member Avatar for suresh9696

I have added some PHP code to JS for countdown timer. I have set the End Time Successfully but could n't set the Start Time can any one here Help me out. As we know JavaScript take system date/Time by Default. i need to get that from server. So here …

0
103
Member Avatar for mwnt2014

Working on wordpress.. Want to set homepage when i click the templates. ..Templates are under dropdown menu.

Member Avatar for pzuurveen
0
126
Member Avatar for hallianonline

Helllo I am getting Warning: Cannot modify header information - headers already sent by error on header("location: sucessful_registration.php"); line please help me how can i fix it function NewUser() { $full_name = $_POST['full_name']; $user_name = $_POST['user_name']; $password = $_POST['password']; $email_address = $_POST['email_address']; $phone = $_POST['phone']; $address = $_POST['address']; $city = …

Member Avatar for pritaeas
0
148
Member Avatar for engrjd91

Hello, i have a login page for home i have created a database and connected my database to it. My code is: **LOGIN.PHP** <!DOCTYPE html> <html lang='en'> <head> <meta charset="UTF-8" /> <title> HTML Document Structure </title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <form name="login-form" class="login-form" action="check_user.php" method="post"> …

Member Avatar for engrjd91
0
409
Member Avatar for nalini@121

Hi, Can anyone help me for uploading files into different folders using Code Igniter. Right now all files goes into a single folder insted of different folder even I have set path for them in config variable. Thanks

Member Avatar for A@DFGFGN.IN
0
5K
Member Avatar for nadiam

Hi guys so i have 2 tables in my page. One table would be populated by names from database and another remains empty for the moment. so what i want to be able to do in this page is that names can be dragged and dropped from the first table …

Member Avatar for nadiam
0
2K
Member Avatar for sunita_3

here i want to generate a graph using highchrats library.my graph is spline with column chart (combo chart).but my graph not generate with my code.so please check my code where is i am wrong.i think i am wrong in jason code..but i have a little bit knowledge in json .so …

0
114
Member Avatar for champmanking

Hey. I need help coding a php script that receives a URL from a form then displays all the images(jpeg, png and gif) from that webpage. I don't need to images to be saved. This is what I already have: form.html <html> <head> </head> <body> <div id="form"> <form action="view.php" method="get"> …

Member Avatar for yessi_1
0
260
Member Avatar for Lee_7

Hi, I'm trying to working with the Tripletex API. Also see our topic : http://www.daniweb.com/web-development/php/threads/444996/tripletex-with-php When i tried log in, It's ok. and response an array. But the problem is : in the header of this response, i can not see any cookie, session about my log in. So i …

Member Avatar for Lee_7
0
170
Member Avatar for nadiam

hey guys so im getting > Notice: Undefined index: spouse-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 18 > Notice: Undefined index: spouse-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 24uoted Text Here > Notice: Undefined index: child-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 30 > Notice: Undefined index: child-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 36 and its really …

Member Avatar for nadiam
0
798
Member Avatar for mark103

I need some help with set up the date format. I'm still trying to find out how I can set up the format to the next day, the day two and the day three date when I work out with the hours. Example: I set up the date format from …

Member Avatar for diafol
0
276
Member Avatar for nufftalon

I have a form that has embedded php Above html tag I have the following code: <?php if(isset($_POST['sendit'])){ $fname = strip_tags($_POST['fname']); $lname = strip_tags($_POST['lname']); $address = strip_tags($_POST['address']); $cityname = strip_tags($_POST['cityname']); $state = strip_tags($_POST['state']); $zipcode = strip_tags($_POST['zipcode']); $phonenum = strip_tags($_POST['phonenum']); $cellnum = strip_tags($_POST['cellnum']); $worknum = strip_tags($_POST['worknum']); $eaddress = strip_tags($_POST['eaddress']); $grad = …

Member Avatar for nufftalon
0
292
Member Avatar for extjac

I have a table that will have several fields, such as counties, age_groups, gender, sports, etc.. on countries I will be storing data with this format["US","CA","DK","FI","RU","SE"] on age groups I will be storing data with this format["2000","1999","1998"] on age groups I will be storing data with this format["M","F"] on age …

Member Avatar for extjac
0
156
Member Avatar for andrew0136

Look, Im pretty new to php and sql and need some help. Im trying to make a database that can store contact details of potential customers that are interested in a specific category. My problem is inserting muliple checkbox data into the database. My PHP and form (all in AddContact.php) …

0
73
Member Avatar for FaisalSarfraz

Hi all!! I am building a media player in flex that uses video streaming through rtmp:// I want to get its bandwidth usage but found out that we can't get bytes loaded for video streaming. Is there any way to get it through php or js? I mean php gets …

0
130
Member Avatar for momonq1990

gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php but in offline its working the file upload was move to my localhost folder.

Member Avatar for hafiztn
0
390

The End.