39,323 Topics
| |
Hi all, I have been asked to create an API for a website, which I would like to do, but havent done before. Does anyone have a good tutorial on using procedural style php, integrated with REST to make an API work? I have read that REST is really good … | |
Hi; I have a mobile script from detectmobilebrowsers.com that will redirect the user to my mobile site however I also wish that when the URL "http://mysite.com/?mobile=no" is entered a session will be created that won't redirect the user on every page of my site... [code=php] $mobile=$_GET['mobile']; if(isset($_SESSION['mobile'])){ if($_SESSION['mobile']==="no"){ complete(); } … | |
I am trying to give each MOVIE there own url name, for example, [url]www.helloworld.com/BATMAN[/url]. I have been using mod_rewrite to create such url. I have been using following htaccess code to achieve such result. RewriteEngine ON RewriteCond %(REQUEST_FILENAME) !-d RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-l RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] The … | |
Hello, I run a service business where employees go to customer homes. I have a Joomla site where registered users (customers) can maintain details about the services they wish us to perform for them. At any point they can login and change these details. I have functions that use TCPDF … | |
Hi I have one sql query. using this query i can download 10 lakhs of data in csv file for 6 hours. now i want to download 20 lakhs of data for 6 hours or less. please tell me how to increase the performance. SELECT id as imp_addr_id,userEmail, email ,name,mobile_no,gender,city,income,profession,experience,country,pincode,type … | |
[B]Hi, can anyone help plz? I want to fetch data from database and show in multiple check box value e.g Registration Num of student in 5 checkboxes with different values but really dont get how to do this :( plz anyone provide me easy code in php i will be … | |
My index.html is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> </head> <body> <form action="index.php" method="post" name="uandp"> <input type="text" name="user"><br > <input type="password" name="password"> <input type="submit" value="Go"> </form> </body> </html> [/code] My index.php is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php session_start(); ?> … | |
I Have Decode File That I need I Found It Ofbuscated I Have The Codes I Want To Anyone Help Me With That [CODE]$xBhtml = _obfuscate_DQc7KjMhKzgCMSwmATFbKjM2OSMkFyIے ( "table.tpl", $ccthemes ); [/CODE] In Function php [CODE] $khtml = _obfuscate_DQc7KjMhKzgCMSwmATFbKjM2OSMkFyIے( "main.tpl", $gthemes ); [/CODE] | |
I am trying to make a php login script and right now i am trying to make it so that if someone enters the wrong login info it will echo "Wrong username or password please try again" But no matter what i dosent print anything on the screen if i … | |
I want to create a voting system where there is a user and admin pages. so when the user has selected, the user can not choose anymore. To the database system checks whether the user has selected or not. I want to use the session between user and admin. and … | |
i having problem and stucked with retrieving like lastnametname. and i am stucked with how do i check if admin=1 will redirect to admin.php if admin=0 will redirect to welcome.php instead. this is the part of my login process script [CODE] $q = "SELECT * FROM members2 WHERE (email='$e' AND … | |
anybody know how to read the first 30 seconds of an mp3 file using php, as a preview version of the original mp3? | |
Hello all, First off, I am not here to debate the merit of storing PDF as a blob in MySQL. I know this is not optimal solution, but this is the requirement that I have to work with. The upload appears to be successful, (Field in the database is filled … | |
Hi, Am building a car sale site.I want to automatically take of listings that are more than, say 14 day old. Any php/mysql scripts or an idea as to how to do this? | |
Good Morning Good People... I have a question that I can't seem to find the answer to anywhere, so decided someone in here would know... Simplest explanation... I have a form which has 2 submit buttons... one to accept and one to decline Each of them needs to set the … | |
I have an array of file names which gets split into 3's using array_chunk, then using array_push "X" is added to each array chunk. I now want to to reassemble the array chunks into one "2D" array. I have been playing around with array_merge, but I can only get the … | |
Hi! I've been trying to work on with my very own PHP login script(PHP+MySQL). Managed to get the login part work with cookies. Is there a better way to do it? I was wondering if HTML5 gives a new point of view in building a login system.. But so far … | |
Hi all, I am developing an website which is required to hide and show HTML. like if visitors user and password are correct then will show "You are logged in as "Namd " "Edit" "Logout" ,as and if logout is pressed then "user name " "password " "forgot password ?" … | |
Hello , i'm new in web devellopement , u just could make a web page using kompozer called testconnexionpage1.php (this page contain entries to input name, date ... , and i created a database in PostgreSQL , i just know how could i insert my datas into my database from … | |
hi i am making a program in php. it actualy involves two tables from database one is order and other product_details i want that when i select a order i get its product and quantity and respective to that product i find quantity of first raw material reqruired. and then … | |
Hi, I've already created registration and login scripts for my application, however i now want to include an option for registered users to reset their password if they have forgotten it and cannot log in. As currently, passwords stored in my database are encrypted, they cannot just be emailed to … | |
how can i create alertpay buynow button without genrating random value just like[CODE]<form method="post" action="https://sandbox.alertpay.com/sandbox/checkout" > <input type="hidden" name="ap_productid" value="mfTho16MKzQB7QLnn4lJRQ=="/> <input type="hidden" name="ap_quantity" value="1"/> <input type="image" name="ap_image" src="https://sandbox.alertpay.com/sandbox/PayNow/9ABA9D5FC7C540799CAEF5A3868D9E60b0en.gif"/> </form> [/CODE]for my website | |
Greetings, I have been wrestling with displaying some output from a form I made for a client. The form must take a checkbox array and display it in a specific part of a sentence in the output. The form data displays properly but it displays like this: The answers are … | |
hi,guys, i am facing on hiding the image source problem, may i know how to prevent user by using right click on image and check on the path image source location?thks for any info ya.cheers | |
[B]Help me to use Search String[/B] [CODE]<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> <html> <head> <title>DrLop Report</title> <script type='text/javascript' src='JS/AJAXControll.js'></script> <link rel=stylesheet href='CSS/Style.css' type='text/css'> <link rel=stylesheet href='CSS/Style1.css' type='text/css'> <script language="javascript"> function fnTagCheckAll(obj, strt_r_no, r_per_page) { objText = document.getElementById("txtValueCollect"); objText.value = ""; for(var i=strt_r_no; i < (strt_r_no+r_per_page); i++) { v … | |
| I have inputted a word from a user and i want to find that word in a text file. My text file is like this. -------------- name1:value1 name2:value2 name3:value3 ... ... -------------- So if my user inputs name1 so i want corresponding value1.. How can i do these? Can anyone … |
Not sure if this can be done in php or whether I should look at other alternatives. I'm trying to access 4 different sources of data to put on one page - Amazon API, Ebay, our sales data on one server and our inventory data on another server. (Historical reason … | |
Hi, I'm new in php and face some problem in mysql. I want to check some data if it's remain on database. Example: in my form there are two form field. 1) url 2) name. So i want to check if session user have already this 'url' and 'name' in … | |
Hi I have a search function where the user selects from drop down boxes. There are 4 fields to choose from and any of the 15 combinations can be used to search with. I am using Else If and the very first IF works, but when it is false it … | |
hi m writing a program n storing a values in session but one of them i.e of prie is not working . can any1 tel where m i wrong [CODE] $name=$_POST['P_list']; $quantity=$_POST['quantity']; $query= "SELECT product_name, unit_price FROM product WHERE product_name='$name'"; $result=mysql_query($query); if ($result) { if (mysql_num_rows($result)==1) { $orders = mysql_fetch_assoc($result); … |
The End.