39,402 Topics

Member Avatar for
Member Avatar for Chosen13

[CODE]<?php if(isset($_POST['register'])) { $username = $_POST["username"]; $password = $_POST["password"]; $email = $_POST["email"]; $conf_pass = $_POST["confirm"]; $error = false; $connect = mysql_connect("localhost", "stickmi1_data", "electricCompany"); $database = mysql_select_db("account", $connect); $usernameCheck = mysql_query("SELECT username FROM users WHERE username = '$username'"); // Registration Form Validation Script if(!$username || !$password || !$email || !$conf_pass) { …

Member Avatar for Will Gresham
-3
89
Member Avatar for rokape

Hi, I have a piece of code below: [code=php] // Check our data if (preg_match('/[^a-zA-Z0-9]/', $new_pagealias)) $error = "Invalid page alias. Use only normal characters."; if (preg_match('/[^a-zA-Z0-9]/', $new_pagekeywords)) $error = "Invalid page keywords. Use only normal characters."; if (!$new_pagealias) $error = "Page alias is missing"; if (!$new_pagename) $error = "Page …

Member Avatar for Will Gresham
0
169
Member Avatar for muralibobby2015

i have to crop images. but i have code to crop images. but .png files are not cropping that code. i have to crop .png image files. plz any one help me.

Member Avatar for venkat0904
-1
142
Member Avatar for veledrom

Hi, nusoap doesn't support php 5.3 therefore, It is not usable for me. Is there any SOAP+PHP example for me to be run on my localhost rather than pointing/accessing wsdl files of other websites? Everything should be stored in my localhost. Thanks

0
52
Member Avatar for sayakyi

Dear All, Since in Our Country is blocking the FTP port 21 and others port, we only use Web2FTP service. But unfortunately Web2FTP service is also down. Do you know a good PHP based WebFTP script. many thanks in advance, regards, saya

Member Avatar for sayakyi
0
150
Member Avatar for itsrahulk

Hi folks, my url querystring is [CODE]querytring.php?checkin=10/11/2009&checkout=10/01/2009&minprice=100&maxprice=200&page=1[/CODE] i want to remove [CODE]&page=1[/CODE] from this url. Please help Thanks

Member Avatar for venkat0904
0
118
Member Avatar for xuexue

hi guys, just wanna ask, could you give me some code about session time out? i have a different page for login and index. any help would be very much appreciated. thanks in advance ^^

Member Avatar for kvprajapati
0
105
Member Avatar for venkat0904

PHP mailer class is a pretty famous 1 so i believe many of u have used or atleast heard abt it.. The problem i m facing is when i try using it with my application on my local system it works fine but as soon as i upload it on …

Member Avatar for venkat0904
0
88
Member Avatar for Nareshdeven

I need to send sms to my customers. I developed my website using PHP. I need Own SMS gateway to send and receive message. How to create own SMS gateway?

Member Avatar for venkat0904
0
117
Member Avatar for hawkontvn

Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D I'm trying to learn PHP and MySQL, and atm I am trying to make a website which corresponds with a database - a database with customers. 1. I want the page …

Member Avatar for venkat0904
0
153
Member Avatar for codemaker

Hi guys, I'm trying to use the mail php function to send my subscribers emails like news, information, offers,etc. The problem is when I test it on my system (Fedora 11 box and sendmail is up and running without changing any settings) I usually receive the mails after 4 or …

Member Avatar for codemaker
0
80
Member Avatar for hno

HI my host doen't support cron job (I can't see any thing that related to cron function in my control panel of my host. I want to execute a page daily and the server automatically run the page daily.What shloul i do?How can I do that? My host is byethost …

Member Avatar for Cronless
0
83
Member Avatar for rukshilag

what is the script to customise a login. for example if "abc" logs in to the website, how do i get it to display "Welcome abc", if "pqr" logs in "Welcome pqr" and so on... please help!

Member Avatar for phouse512
0
157
Member Avatar for rukshilag

how do i add an image path to a mysql table of mine which has "product image" as a field. i have saved the necessary images to images folder in root folder as well... please help!

Member Avatar for diafol
0
155
Member Avatar for SuntechWebsites

Is there a way I can display an image, pdf or word doc that is stored in a my sql database? I tried to pull up a word doc with this: [CODE]$sql = " SELECT * FROM user WHERE username = '$_SESSION[MM_Username]' "; $result = mysql_query($sql); while($row=mysql_fetch_array($result)) { $inv=$row['invoice'];} ?> …

Member Avatar for SuntechWebsites
0
90
Member Avatar for ez123

When I run my fie and open this one folder, I get this error message Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ezbiz/public_html/ar/templates/a_settings.html on line 61 Any help will be greatly appreciated.

Member Avatar for ez123
0
141
Member Avatar for honos1

Hello all.. Very new to php and am working on an online strategy game as a precursor to my business websites. I am having a problem coming up with something I thought would be simple. My intention was to have a list of units display on the screen using checkboxes …

Member Avatar for honos1
0
848
Member Avatar for Alba Ra

Hello, I am a training developer in .NET and web 2.0 technologies and this one is an exercise from one of our first lessons in PHP: accessing a MySQL database from a PHP script. The problem I've encountered is that while database is thought to be in Unicode (i.e. the …

Member Avatar for Alba Ra
0
1K
Member Avatar for mrshailesh

Hi everbody, can anybody give me the code for payment integration for hsbc,paypro. also i need code for xml aparing in php5 thanks shailesh

Member Avatar for manojdonga
0
77
Member Avatar for akvlko

Hi, This is Ashok from India as I am a student but currently having a training for web development so I made a Job Consultancy Project and face the following problems.... 1. i designed a form on which user can input the information about the candidates and a search will …

Member Avatar for akvlko
0
196
Member Avatar for tulipputih

Hi, Is it possible to upload a file that contains some data and directly save the data in specific fields as in database using php?. this is important as the data retrieved according to their field name. Thank you.

Member Avatar for Atli
0
131
Member Avatar for elanorejoseph

[CODE]hi can any one tell me how validation can be done in PHP WITH OUT USINGjavascript[/CODE]

Member Avatar for venkat0904
0
346
Member Avatar for olunde

Hi everyone, I am new to PHP, and I am trying to upload 10 files with differnt input names. From reading forums and such, I came up with the following code, but it doesn't seem to be working. Can anyone tell me where I went wrong? [code] if (isset($_POST[submit])) { …

Member Avatar for network18
0
129
Member Avatar for AirGear

i'm a newbie in php, and i know this question maybe silly :( i tried to create a php file that will redirect to yahoo.com. i have searched in google, and i found that the code should be [CODE] <?php header('Location:http://www.yahoo.com ?> [/CODE] but i found that it didn't work. …

Member Avatar for AirGear
0
372
Member Avatar for AirGear

i'm a newbie in php and maybe my question is so silly. i tried to create a session in a file named login.php [CODE]<?php include "koneksi.inc.php"; $name=$_POST['name']; $password=$_POST['password']; $hasil=mysql_query("SELECT * FROM TabelPegawai WHERE nama='$name' AND password='$password'"); $row=mysql_fetch_array($hasil); if ($row[nama]==$name AND $row[password]==$password) { session_start(); $_SESSION['namauser']=$row[nama]; $_SESSION['passuser']=$row[password]; $_SESSION['level']=$row[jabatan]; if($_SESSION['level']=="Manager") {header("location: manager.php");} else …

Member Avatar for AirGear
0
186
Member Avatar for meko22

Hi, I'm sure this is very simple but am unable to find out how. How do I display an email address as a mailto link like in HTML? I have records displayed from a mysql db but would like to display a member email address that acts as a mailto …

Member Avatar for meko22
0
4K
Member Avatar for shashank2009

I just want to know that How can I grab small discription of a specific news from the news websites using url like [url]http://www.bhaskar.com/2009/11/05/091105062426_uid_number.html[/url] If you have a sample code,please send me. thanks

Member Avatar for diafol
-1
120
Member Avatar for futhonguy

Hi What i want to do is using php code to write to delete the entire row in the db. each row has its own id, field and content. instead of deleting the row with the id, can i do by the field name? how would i do this?

Member Avatar for futhonguy
0
125
Member Avatar for whiteyoh

Hi All, the following code will allow you to type content, and saves it fine, but it just wont populate that paticular area with the current database entry. Please can somebody advise. Im sure i have missed something so simple. [code] <?php $result = mysql_query("select * from `indexinfo` where id …

Member Avatar for saranya14
0
6K
Member Avatar for verbob

I would like to take a string (I have loaded it from the database) and extract it into chunks. The beginning string, lets call it "$string", has the following format: [CODE]<li>item1</li><li>item2</li><li>item3</li>[/CODE] (maybe more li's, maybe less, or even none) What I would like to do is extract to an array …

Member Avatar for verbob
0
128
Member Avatar for violarisgeorge

Hey all, I need to use the PHP mail() function in order to send an email to a number of individuals. So lets say that I have 5 users that need to get a particular email. I was thinking that the correct way of going about using the mail() function, …

Member Avatar for violarisgeorge
0
153
Member Avatar for MDanz

i have a table with 14 columns and 4 rows. i know how to echo a result with a table from a query but how do i input results into a table thats already there? results go into cell 1, cell 2, cell 3 etc been having trouble on this. …

Member Avatar for Airshow
0
244
Member Avatar for SKANK!!!!!

i found that your supposed to use this: session.gc_maxlifetime but i dont know how. does anyone know how i can destroy a log in session so the user wont be logged in 30 minutes later. ?

Member Avatar for SKANK!!!!!
0
265
Member Avatar for filch

Hi, I don't know if I have just been working too much or have gone brain dead (or both), but the solution to this eludes me. I am using PHORM ( a PHP form processor) which uses variable substitution to allow you to quickly create user interaction pages etc. What …

Member Avatar for diafol
0
136
Member Avatar for slr

Hi! After years I decided to sign up! Can you please tell me of a bot tutorial or getting a solution to my problem. What direction should I be going. I want to make a PHP script that searches a MySQL table's columns, rows and then returns all the spelling …

Member Avatar for diafol
0
2K
Member Avatar for dottomm

Hello everyone, and thank you in advance for any tips you may be able to provide. I am hoping there is a way to do paging with static html content with php? I have to redesign a very text-heavy site and would like to limit the page lengths of the …

Member Avatar for dottomm
0
160
Member Avatar for emhmk1

Hi Guys, a while back i was working on a components list for a marquee firm, the project was put on hold for a while but now i'm taking it up again. A while back i asked how to add extra input fields with an onClick button, this was achieved …

Member Avatar for emhmk1
0
70
Member Avatar for gagan22

Hi, I am new in making a social networking site. I want to make such a social networking site which have this type of feature: 1.[B]Search EASILY for artists by name, type of art (about 10 variables), geography, etc - so the Database link and lookup function has to be …

Member Avatar for violarisgeorge
0
98
Member Avatar for muralibobby2015

hello... i want to do "images and text" which is in database...that content fetch in user's side....but sliding problem occuring...for example i have 5 images and 5 descriptions is der..so i want to show image[1],description[1] after some milliseconds image[2],description[2] .....etc like this...but all images are displaying once..that is my problem.. …

Member Avatar for pushpakalpana
1
137
Member Avatar for mike14

[CODE]hi all How to store xls and xslx ,txt extension file to mysql database? [/CODE]

Member Avatar for network18
0
276
Member Avatar for elanorejoseph

[CODE]hi can any one tell me how i can make a thumb nail of an image?[/CODE]

Member Avatar for elanorejoseph
0
155
Member Avatar for pushpakalpana

hello... i am doing shopping cart. in that there is billing address is there and shipping address is there. in there between "copy" link is there. when that page is loading "billing address fields comming and 'copy' link is also comming. but shipping address fields are not comming. after 'copy' …

Member Avatar for network18
0
231
Member Avatar for dwdata

Hello, I have just started to develop a PHP/mySQL site and was wondering if there are any Open Source Security Frameworks they can recommended. Not only do I want to deal with data hacking issues, but also want to know what the best practices to insure that users are not …

Member Avatar for network18
0
181
Member Avatar for anumitadas

How to import file in wamp server? I have a database file named as db.opt .I want to save this file in proper location so that I can access database from wamp server..Its showing unable to access database everytime. I saved those file in wamp\bin\mysql\mysql5.1.36\data. But I cant access database …

Member Avatar for sanjay1kumar11
0
180
Member Avatar for Shanti C

Hai Every one... Im totally new to X-cart open source .Its a e-commerce source actually..And my company needs to create a shopping cart with x-cart.. Any suggestions , tips on this will always welcome... thank you, shanti..

0
108
Member Avatar for oskido2010

Hi I would like to set up a php birthday reminder so that if users bdays are within the 7 days, it should display that the folllowing people celebrate their bday next week so far i have got to this stage, does any one have a better idea? [CODE=php]if(!empty($_POST)){ function …

Member Avatar for digital-ether
0
4K
Member Avatar for futhonguy

Hi What i want to do is using php code to write to delete the entire row in the db. each row has its own id, field and content. instead of deleting the row with the id, can i do by the field name? how would i do this?

Member Avatar for EvolutionFallen
0
202
Member Avatar for CFROG

I'm trying to display a menu option only for certain session id's and for some reason it displays for ALL session id's ... not just the ones i have indicated. Not too sure why it's doing this, it all looks okay to me. [code] <?PHP if(isset($_SESSION['user_id']) && $_SESSION['user_id'] == 1 …

Member Avatar for EvolutionFallen
0
187
Member Avatar for emhmk1

Hi guys, i have been trawling around looking for a decent and simple way of working out an age from a birthday. The way i'm working is a date of birth is added to a database then when pulled we echo the actual age and not the d.o.b. It's probably …

Member Avatar for EvolutionFallen
0
127
Member Avatar for abrocketman

I am writing this simple code. I used this class in PHP 10 minutes ago and now when I did it again it gives me this error. I cannot see the difference [CODE] <?php class user { public $Username; public $FullName; public $Password; public $LoggedIn; public $JoinDate; public function changePassword($newPass) …

Member Avatar for ShawnCplus
0
104

The End.