39,326 Topics

Member Avatar for
Member Avatar for jayreis

I have the below line of code which I am trying to use after an image is uploaded in order to resize the image. I have confirmed my image does get uploaded correctly so the image file is in the correct location however I keep getting an error The line …

Member Avatar for jayreis
0
139
Member Avatar for Mike_danvers

with all due respect i would like to inform that,2hours ago i posted a thread on php webdevelopment,but can't see that in my watch list nor in forum,can any of the admins have any idea what happened to that??

Member Avatar for Mike_danvers
0
94
Member Avatar for chaitu11
Member Avatar for polarpandabear

Hello Everyone! I'm a return user to this community. I just want to ask some help regarding of my problem in my site. the problem is that some of my php files can't display some of my content in our website. I'm a main programmer in our team and in …

Member Avatar for cereal
0
479
Member Avatar for CarterLangley

Can never seem to get things to work! <?php if(isset($_POST['add'])) { $person_id = $_POST['person_id']; if (isset($_POST["cv"])) { $cv=1; } else { $cv=0; } if (isset($_POST["document_id"])) { $document_id=1; } else { $document_id=0; } if (isset($_POST["application_form"])) { $application_form=1; } else { $application_form=0; } if (isset($_POST["passport"])) { $passport=1; } else { $passport=0; } …

Member Avatar for CarterLangley
0
262
Member Avatar for vukhacbiet

I intend to business web applications but do not know how to create a system such as Bitrix24 or Kayako Anyhow, when a user clicks the trial, the system will automatically create a subsystem run their web applications including self-installation and application configuration, user trial with domain subname.domain.com After a …

0
45
Member Avatar for Alhussaini.Eng

**Hello Every body.** My toturial today how to make token input in the send data by form to the database by using php mysql it's so easily and useful . most people why use it or what's token take me to more secure. i answer : Did you ever think …

1
263
Member Avatar for garwil

Hi all... Hope someone can point me in the right direction here as am stumped.. I have two domains, same name but one is .com and the other .co.za. The .com domain is 'parked' and points to the .co.za domain. In the co.za domain my landing page (index.php) has three …

Member Avatar for diafol
0
205
Member Avatar for nileshbhanu

how can i apply expiry for 30 days to web app without using cookie? i have my one app and if i want to give this app to client for 30 days on server than how can it is possible?

Member Avatar for diafol
0
434
Member Avatar for hanan-kh

I'm currently working on programming a news site and I do not have sufficient experience in the jquery I want a news slider show like that on [this site](http://www.samanews.com/ar/) and thank you

Member Avatar for Alhussaini.Eng
0
86
Member Avatar for CarterLangley

Hey guys, the code below is where I am having the problem. The error I am getting when trying to insert the record is *Could not enter data: Unknown column '3' in 'field list'* <?php session_start(); include("db_connect.php"); if(($_SESSION['user_id']) && ($_SESSION['access_level'] == 1 ) ) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD …

Member Avatar for CarterLangley
0
192
Member Avatar for dukumanis

<?php // Make a MySQL Connection mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("borrow") or die(mysql_error()); $TextBox1 = implode(', ', $_POST['Name']); $TextBox6 = implode(', ', $_POST['Startdate']); $TextBox7 = implode(', ', $_POST['Enddate']); $TextBox8 = implode(', ', $_POST['Item1']); $TextBox8 = implode(', ', $_POST['Item1']); $TextBox8 = implode(', ', $_POST['Item1']); $TextBox9 = implode(', ', $_POST['Item2']); $TextBox9 …

Member Avatar for diafol
0
440
Member Avatar for subrata_ushasi

Hi all, I installed wamp server as well as oracle in my computer where oracle 9i is opening but wamp server is not working . very urgent. Subrata

Member Avatar for rageesh.pk
0
245
Member Avatar for Sujan Shrestha

i used this code to insert data into database but nothing happening.. <?php session_start(); if(isset($_POST['submit'])) { $dbhost="localhost"; $dbuser="root"; $dbpass=""; $tablename="requested_quotes"; $conn=mysql_connect($dbhost, $dbuser, $dbpass)or die("cannot connect"); mysql_select_db('1')or die("cannort select DB"); $fname=$_POST['fname']; $lname=$_POST['lname']; $sex=$_POST['sex']; $email=$_POST['email']; $phone=$_POST['phone']; $address1=$_POST['address1']; $address2=$_POST['address2']; $country=$_POST['country']; $city=$_POST['city']; $state=$_POST['zip']; $date=$_POST['date']; $contactme=$_POST['contactme']; $interest=$_POST['interest']; $sql="INSERT INTO $tablename(first_name, last_name, sex, email,phone, address1, address2,country, …

Member Avatar for Sujan Shrestha
0
3K
Member Avatar for mwnt2014

Want to change default theme and all looking . Set it for the School Website.. Suggestions please......

Member Avatar for diafol
0
87
Member Avatar for yeshamarques
Member Avatar for diafol
0
82
Member Avatar for garyjohnson

I have a database which has multiple tables. I want all the table names to be displayed in a drop down html menu. I have a php function which I call on my html document. function namealbums() { $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for dukumanis
0
3K
Member Avatar for digital-ether

Searching the net I couldn't find a simple way of retrieving HTTP Request Headers and HTTP Request Body in a PHP Script. PECL extensions offer this but not a standard PHP install. So heres a simple class that will do it for you. Docs in my blog: [URL]http://fijiwebdesign.com/content/view/90/77/[/URL]

Member Avatar for veedeoo
0
11K
Member Avatar for dado.d

This is my process.php which I use to post data on my page's wall PHP Code: include_once("config.php"); //HTTP POST request to PAGE_ID/feed with the publish_stream $post_url = '/'.$userPageId.'/feed'; //after login redirect him and if i can get message submit it to page if(isset($_GET["message"])) { $msg_body = array( 'message' => $_GET["message"], …

0
215
Member Avatar for amna zafar

I am displaying the complete record of the user in the My profile section, I am fetching all the rows , but the problem is within the rows I've got two fields as arrays, which are 'secondarySubject' and 'secondaryGrade' now I want the display to be something like this 2002-2004 …

Member Avatar for diafol
0
354
Member Avatar for dipakbarman
Member Avatar for network18

Hello, I am trying to configure PHP 5.3 on already installed Apache 2.0 on windows machine, using the guidelines mentioned on - http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml So far I have done - LoadModule php5_module "C:/PHP/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/PHP" All these at the right spots in httpd.conf file. I have apache in …

Member Avatar for network18
0
522
Member Avatar for network18

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML …

Member Avatar for network18
0
2K
Member Avatar for oriola-1

hey guys Am new to dis site(Daniweb) also a baby to php but am trying to develop a simple hopping cart in php bt its look too difficult, most of the code am geting on google is too complicated for me.. can anyone help me a simple and easy code …

Member Avatar for oriola-1
0
326
Member Avatar for amanu092

I want to develop a voip billing system in php and mysql. Do you gays able to help me by giving me some tutorial links.Or some technical suggestion as how to start and how can I do it final.Thanks all in advance for reading my query and trying to help …

Member Avatar for williamwalker
0
308
Member Avatar for nevil120

I have Android app and 1 php application. I want to invoke android function when the button is clicked on my php application (on latop-pc browser). So basically Php to android communication. How to achieve that?

Member Avatar for orochiwolf
0
144
Member Avatar for joseph.lyons.754

I want to pull the image name from the database and insert it to the folder directory path using php. I am wondering is this possible and if so how? Ive attempted it a few different ways but i can't figure it out? while($row = mysql_fetch_array($result)) { echo "<tr>"; This …

Member Avatar for joseph.lyons.754
0
125
Member Avatar for jboonpradab

Hi, I'm trying to display the first name of the username using session after they entered username and password. I'm not sure what went wrong with my code. Any suggestion? Thank you. <?php //connection string $con = mysql_connect('127.0.0.1','root')or die(mysql_error()); //select the database mysql_select_db('local',$con) or die("Unable to connnect!"); //mySQL query $sql1 …

Member Avatar for diafol
0
116
Member Avatar for markii.borabon

Hello there Masters.. I have a little problem on my mail() function.. when I send mail the sender is always apache@blabla.com. what I want is when the message is sent the message format is simply like this. from:markii design, to Reciever, message.. here is my code.. <?php // read the …

Member Avatar for pzuurveen
0
236
Member Avatar for Webville312

Hi Guyz, I have hit a snag with the code I have been working on. I am required to fetch database records from 3 tables and display them in both rows and columns. For example, the output of the records on the web page is required to be as follows; …

Member Avatar for diafol
0
317

The End.