39,388 Topics
![]() | |
H friends i need your help again I have shooing site where user can pay through credit card . There are a general form where user submit primary data then he redirect to payment getaway provider page to give his credit card info please check the demo url [url]http://hostingcare.co.in/payment/testpage1.php[/url] now … | |
This is based on advise given ina previous thread I posted awhile ago for protecting data. I tried the following: <?php function base_encode($text) { $size = strlen($text); $str=""; for($i=0;$i<$size;$i++) { $str=$str.slide_left(substr($text,0,1),4); $text=substr($text,-1); } return $str; } function base_decode($text) { $size = strlen($text); $str=""; for($i=0;$i<$size;$i++) { $str=$str.slide_right(substr($text,0,1),4); $text=substr($text,-1); } return $str; … | |
Hi, I have a Python code that uses google app engine to get data via a html page. I need to modify the Python code and write a PHP code, so that the PHP code is able to pass on the required data, which is two numeric values, directly to … | |
this code is giving me a blank page <?php session_start(); include("header.php"); include("conection.php"); include("modal.php"); $abc = 100; if($_GET["view"] == "delete") { mysql_query("DELETE FROM administrator WHERE adminname ='$_GET[slid]'"); } if(isset($_SESSION["userid"])) { if(isset($_GET[first])) { } else { $_GET[first] =0; $_GET[last] = 10; } $result = mysql_query("SELECT * FROM administrator LIMIT $_GET[first] , $_GET[last]"); … | |
Hello, I'm working on a project that needs to be done in PHP, however, everything has to be done locally. To test files that I'm editing I have installed Xampp on my computer. As far as I can tell, I have installed everything properly. When I load up this page, … | |
I have a contact form on my site when I click send I get the following errors: can anyone help please. Warning: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1:25 (Connection refused) in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line 102 Warning: fgets(): supplied argument is not a valid stream resource in /home/jholmes6/public_html/contact/contactpage/sendmail.php on line … | |
Anybody can help me with this code? Why the pop up message for deactivated account did not showed up? <? include("database.php"); $myid=$_POST['myid']; $mypassword=$_POST['mypassword']; $status=$_POST['mystatus']; if ($_POST['user']='Admin'){ $resultad = mysql_query("SELECT * FROM staff WHERE staff_id='$myid' AND level='ADMIN' AND password='$mypassword'" ); $count1 = mysql_num_rows($resultad); $row1 = mysql_fetch_array($resultad); if($count1==1){ header('Location:adLandingPage.php'); $insertSQL = "INSERT … | |
We are developing a mobile payment system which enable our Agents to collect cash (in person) from our members and update our online database via PHP/MySQL. Our Android Smartphone Agents CAN send an instant SMS receipt to the Member at the time of payment (despite lots of expert advice saying … ![]() | |
I am trying to create a secure login app using php and MySQLi by following this tutorial: Link To Tutorial The tutorial is using a table(members) with 5 fields as:"id", "username","email","password",and "salt". but at the very beginning there is a an SQL INSERT function which is confusing me INSERT INTO … | |
Hey guys its me again: Basically everything on this page, at least the parts I'm able to test, are working, problem is addproduct.php is supposed to print errors when error checking the form and repopulate the data fields with the previously submitted data. I'm doing this by populating $_SESSION. addproduct.php: … | |
I've got 2 tables, basically this weeks stock list and last weeks. Each has around 25,000 SKU's. I'm trying to run a comparison programme to see where there are stock-outs i.e. SKU missing from the latest table. Table structures identical. Both about 20mb in size. Script is timing out so … | |
A simple way for using templates in php new pages can run server side code or pretty much do anything you would normally want to do on a web page First create your template. cleary there is way more that can be done with this, I've kept it simple for … | |
Hi all. I am a beginner in Zend and I am wondering if there is any good book or tutorial for developing applications with Zend Framework, using json for data encoding and decoding and how to use jquery with Zend. Thanks. | |
I have a slider that load all of my content at once. Into a div. Like so: external page.php $get_users = mysql_query("SELECT * FROM user WHERE id!='$user_id'"); while ($rows = mysql_fetch_assoc($get_users)) { $id = $rows['id']; $firstname = $rows['firstname']; $display_info .= ' <div class="f_outer" id="' . $id . '"> <div class="f_name … | |
you can see the image that i upload to see what this code below is dowing. it make 3 cols and 6 rows table. echo" <div id = 'index_content_page_wrapper'> <br/> <br/> <table border='1px' cellspacing='0' cellpadding='0'> <tr width='1075' height='250px'> <td width='355'>image 1</td> <td width='355'>image 2</td> <td width='355'>image 3</td> </tr> <tr> <td>random … | |
lets say i have $num1 = 0; $num2 = 1.00; $num3 = 1.2; is there a php function that will convert int or double/float to usa dollar currency? so the output should be $num1 => 0.00; $num2 => 1.00; //note this will stay same $num3 => 1.20; i found this … | |
please help me here with this problem. dont knwo whats happning. problem is here. require_once ( JPATH_ROOT .DS.'includes'.DS.'mpkorn'.DS.'userauth_include.php' ); $mpkauth = new manage_user_component(); $authorized = $mpkauth->check_loggedin_access(JRequest::getVar( 'option' )); | |
For Security Concern, I am using mssql_execute(). I am not getting way to get the recordset return from procedure. Below is my sample code $query = mssql_init("USP_GET_ICIN_DATA",$mssql_link); mssql_bind($query, '@ICIN_NUMBERS',trim($icin_data), SQLVARCHAR, false); mssql_bind($query, '@FROMRECORDNUMBER', $start, SQLINT4, false); mssql_bind($query, '@LIMIT', $limit, SQLINT4, false); $result = mssql_execute($query); while ($row = mssql_fetch_assoc($result)) { $icin … | |
Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = … | |
Hi, I have some issues on my website with my deeplinks Let me show you sample regarding this issues www.mywebsite.com/buy-online-tv.php www.mywebsite.com/buy-LCD-tv.php www.mywebsite.com/buy-cheap-tv.php www.mywebsite.com/affordable-tv.php etc.... Until here everything is fine but I got lots of visitor coming for Google and the vistor find my website and come from such URL www.mywebsite.com/buy-online-tv.php/buy-LCD-tv.php … | |
So i figured out how to embed drop down menu option on the table feature in dreamweaver, HOWEVER, when i go to remote view to see if all fields are working the dropdown box which I labeled package is now showing up in the email. How can I get this … | |
Hi I am having an issue with a table join query whhich later I will echo results into a table. Example I have 2 x tables and Table1field1 has a number say 555 but table2field1 which I need to join to has 555 342 642 313 etc etc This is … | |
Hello every one, i have a form with drop down list of month,dates,year. and text fields. i am able to insert the text fields values fine, but could not insert values from the dropdownlist(month,date,year) using same method. please could someone help me.below is my code. <?php session_start();session_destroy(); session_start(); if($_GET["firstname"] && … | |
Hello there, I have a big big problem in my project, I have a login page , so everyone log in, the **session** will be his **id** $_SESSION['userid'] = $id; till now there is no problems, I put a header file to check the user is logged in or not … | |
Hello Community, I was wondering if there is a way to restrict sub directories from accessing the parent directory (the main directory where all my website file are stored) and from having any interaction with the previous folders (so once there in the child folder they can't leave it eg. … | |
When C++ source is compiled the errors are shown in this format `cPlusPlusSource.cpp:row_number:column_number: error: Error description text` What should the regular expression for this be ? Please help! | |
Dear admins..!! i am sorry for my previous post, but, now i am asking you this because i am poor in JS scripting.... i have seen a [website](http://max.jsrhost.com/ajaxify/demo.php). Here the menu and content are displayed in two different DIVs, but, i cant understand how to use that, i have concerned … | |
hey all, ive been working on a php contact form script but i have problem i cant succses to do the "all fields are required" thing, ill be very glad if u guys could complete my script PLEASE!! this is my php script: <?php $recipient = "Email"; $subject = "Contact … |
The End.