39,402 Topics

Member Avatar for
Member Avatar for super_noobie

hey all I have a standard php form and I want a to add paypal purchasing action to it as well. is there an easy way to do this? thanks in advance

Member Avatar for sheltonjb
0
212
Member Avatar for krrr25

I am trying to convert a rtf file to html file in php. The below code is not working, not giving any error also. <?php $handle = popen("/usr/bin/abiword --plugin AbiCommand 2>&1", "w"); fputs($handle, "server"); fputs($handle, "load /var/www/abiword/test.rtf"); fputs($handle, "save /var/www/abiword/test.html"); ?> when i do this conversion through terminal with the …

0
67
Member Avatar for bjeffries

How do you get URLs like below when using php? [url]http://domain.com/photos/022010/01/[/url] Where it normally is written like this: [url]http://domain.com/photos.php?date=022010&id=01[/url] I see sites like this all the time now and am curious how this is accomplished. I do have an idea though... When creating a directory for example photos. Do I …

Member Avatar for bjeffries
0
179
Member Avatar for sami.asanga

Hi, I was having only one admin in my system.Now I want to add one more,where the new one is having lesser privileges.For that I want to hide some menus from him where he is not aware about that linking pages. Is there anyone who can help me to do …

Member Avatar for vibhaJ
0
85
Member Avatar for raju_boini525

hi all, i want to learn wordpress. where do i start. can anyone tell me the best wordpress tutorial. thanks,

Member Avatar for morkat
0
108
Member Avatar for EvolutionFallen

Hi, I'm somewhat new to jQuery/JavaScript, so any help would be greatly appreciated. I have a few textboxes that need to be populated when a user clicks a hot spot on an image map. Each hot spot has an alt tag representing the ID number of the object I need …

Member Avatar for MooGeek
0
161
Member Avatar for lapunluyang

I was asked to create an adult content filter system as my final project and am actually thinking of using php. So i would like to know how possible this is. Any useful suggestions on how to go about it is welcome as i am new to php itself. Thank …

0
60
Member Avatar for marvolo1300

Hi, I want my script to redirect the visitor to the another script which is in another folder under the same parent directory. And i cannot use the "header()" redirect method. [QUOTE]/www/index.php/ (where i want the visitor to be redirected to)[/QUOTE] [QUOTE]/www/upload/upload.php/ (where i want the visitor to be redirected …

Member Avatar for MooGeek
0
1K
Member Avatar for areese685

Hi everyone I am new here. It has been a few years since I have done any php coding and need help. My website is basically static and constant throughout the entire site except for the main content on the page. I know there is some way to use the …

Member Avatar for chrishea
0
86
Member Avatar for OpenBSD

Hi, I have 2 level for signup memebr . 1-member 2-supermember now i send for each user value 1 or 2 to permission. SQL Table : id | name | lastname | permission | date | desc | username | password so in user profile page i have 6 link …

Member Avatar for CyberSpatium
0
168
Member Avatar for wendeus

Hi everybody, I wanna make a simple leads form in php, this form has three fields. the first field is "code", the second one is Name and third is e-mail. the issue is that i have two tables in my database and i want in one hand store all this …

Member Avatar for CyberSpatium
0
145
Member Avatar for gchurch

hey i desperately need to know the answer for a project if anyone can help... i and retrievin info from a DB and desplayin it in a dynamic table. then if the <select value='1'> in the form i need to send a variable accross to another page. the code is …

Member Avatar for gchurch
0
98
Member Avatar for ceeandcee

Good Afternoon, I have this line of code: echo $sum['PTS1011_wk1']; Earlier in my page, I have set a variable to: $wk="wk1"; What is the syntax to use the Variable $wk instead of spelling out wk1. I want to be able to change $wk once and have it change throughout a …

Member Avatar for Fbody
0
85
Member Avatar for dschuett

Ok, So I found a pagination class fro ma tutorial and decided to try and impliment it into my mysql search query I use here at work to search past Parts Ordered records. I got it working to the point that it only shows 10 results on a page, and …

Member Avatar for CyberSpatium
0
224
Member Avatar for SiobhanyScot

Alright kids, I know next to nothing about PHP but I'm interested in geolocation scripts. A couple of months ago, I got a presentation from a company that can target content down to the zip code level (and much more, but that's beside the point). However, what they charge a …

Member Avatar for chrishea
0
200
Member Avatar for slap01

i code this without the delete function, but when i started using it, there's and error. need help with this code[CODE]<?php $_GET['id']; $username = "root"; $password = '123456'; $hostname = "localhost"; $db = mysql_connect($localhost, $username, $password) or die ("Unable to connect to mySQL".mysql_error()); mysql_select_db('mynewdbase'); $del = "DELETE FORM newdbase WHERE …

Member Avatar for Stefano Mtangoo
0
119
Member Avatar for gchurch

well i have a form on the one page of my site that sends some variables accross using POST to another page. then some other things get calculated however the same variables from the first page need to be sent through to the next page. and when i click a …

Member Avatar for gchurch
0
149
Member Avatar for patrioticcow

hello, i have something like this search:_______ search1:___________ submit btn how can i search for something from the same table in the database considering both search fields? I've tried this code nut it doesn't work. thanks [code=php] if($search == '') { $smarty->assign('Error','Please enter any string!'); $z=1; } elseif($type == 'like') …

Member Avatar for patrioticcow
0
736
Member Avatar for stanley87

hi,guys,i m new to php.now i gonna link a group of check box to mysql database which link among form.php and process.php.my page in to do the search from category that i check with the category,means maybe i can check 1 box,or money box together when i press the search …

0
75
Member Avatar for sugikrish

hi.... I want populate combo box based on another combobox selection in php. for eg: If we select 'tamilnadu' in one combobox then tamilnadu district are displayed in another combobox. If you know send that coding. Thanks in advance

Member Avatar for Daiva
0
77
Member Avatar for sami.asanga

Hi, Can anyone tel me how to get values from the database to work with mail to function?? I mean rather than giving like mailto:xxxxx@xx.com ,I want to take email ids from the database.How should I do it? I did like this.. <a href = "mailto : $row['sup_email']."></a> But its …

Member Avatar for Razer_Thomas
0
132
Member Avatar for zeuz

Hi everyone My intention is to enable NTLM authentification when using the native PHP SOAP client, Most of the code is copied from an php.net manual example and it is said to be working. I'm trying to override the __doRequest function in the SoapClient class and let it use cURL. …

0
146
Member Avatar for designershiv

HI All I am relatively new to PHP and am in the processing of developing a site making use of PHP and MySQL. The problem I am experiencing is that when I refresh Internet Explorer, the data that was processed by a form is resubmitted to the database - can …

Member Avatar for designershiv
0
114
Member Avatar for ceeandcee

Good Evening, I have a table that has a field with 15 entrys in it. I would like to output it from a query in a table that has 3 rows of 5. However, whenever I put a <tr> inside the loop, I get 15 rows. Any idea how I …

Member Avatar for ceeandcee
0
130
Member Avatar for ello

Hey, just a quick question about the following code: [CODE] <input name='name' type='text' class='form' value='<?php echo "" . (isset($_REQUEST['name'])) ? dataClean(ex_clean($_REQUEST['name'])) : FALSE . "";?>' size="40" rows='5' /> [/CODE] Now, if the user has errors in the form details and clicks submit, the page refreshes and it displays what errors …

Member Avatar for ello
0
120
Member Avatar for keavon

Ok, it's really weird. When I test the to see the two variables which will make up the email address <?php $carrier = $_POST['carrier']; $number1 = $_POST['number1']; $number2 = $_POST['number2']; $number3 = $_POST['number3']; $number = $number1.$number2.$number3; $pin = rand(1, 9).rand(0, 9).rand(0, 9); $code = $pin; if($carrier == 1){ $displaycarrier = …

Member Avatar for keavon
0
504
Member Avatar for Dani

What are the differences between Zend PHP Studio and Eclipse for PHP Developers? Why pay for Zend Studio when Eclipse is free?

Member Avatar for fatihpiristine
0
136
Member Avatar for chocopaste

This may be impossible, but I thought I'd give it a shot. I'm using PDO to fetch data from the DB, and use the PDO::FETCH_INTO approach to populate an existing Object (think ORM). What I'm wondering is if I can turn an object into an array of objects of the …

0
53
Member Avatar for awestove

I am trying to create a file upload form on a website and am getting the error: Notice: Undefined index: My code is: [CODE=php] <?php session_start(); if (isset($_GET['submitted'])){ print_r($_FILES); $displayName = $_GET['displayName']; //file name is name of user who uploaded-date-time ie awestove-20100901-0800 $fileName = $_GET['username']."-".date('Ymd-Hi'); $origFileName = $_FILES['fileChooser']['name']; $ext = …

Member Avatar for awestove
0
125
Member Avatar for priyam1309

I am trying to send mail for "Tell a friend" link in my website. I am using Gmail's SMTP Connection settings as Mail() is not working properly for my web host. In the code i am giving my username & password so send mail via my mailbox. But is it …

Member Avatar for svilla
0
140
Member Avatar for gidireich

Hi all, I'm a C developer, familiar Java, C++, C# . I'm into PHP now. Trying to find a good material, I read several which served PHP in do-this-do-that manner. I'm looking for a good book about PHP as a programming language. I mean, for example, really explaining the typing …

Member Avatar for Ezzaral
0
55
Member Avatar for sumit3gupta

I exactly want to integrate a GPS API that can work when the website is opened from a mobile, and we can get the latitude and longitude of a place by using that API which can taken as a input from user of that place where he is ???……!!! Anybody …

0
66
Member Avatar for ivan3510

Hi! Sorry for my bad english. I have one video. I want to make page that will display this video (like youtube), but I don't know how. In youtube there is a original page with video (I think, made with 'header(Content:application/x-shockwave-flash objekt)'). I want to make that too. But I …

Member Avatar for ivan3510
0
204
Member Avatar for ello

Hi, the problem i'm having is with the following code. When the user clicks the submit button with any errors it displays the section I've marked out. But it positions this at the very top of my form, pushing evverything down. Is there a way to get this error information …

Member Avatar for ello
0
102
Member Avatar for jtdbidirect

This is a keyword search script for one table only (pages). i need this search on 2 tables (pages and services) with one result set at the end to echo to the page. Can anyone help me? I have been trying to find a solution for 2 days - it …

Member Avatar for jtdbidirect
0
173
Member Avatar for andydeans

Hi, Is there any scripts that would logout a user if they were already logged in with that username and password? many thanks

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for dandixon

I need to select customer column my database and then insert this into a session so i can use it in the other pages of my site but nothing im doing seems to work, any ideas [CODE] <?php session_start(); include("Connections/database.php"); ?> <?php /** * Checks whether or not the given …

Member Avatar for pzuurveen
0
167
Member Avatar for rje7

I am trying to split up the registration form into two php pages. Is it possible for the second page to submit its form along with the $_post which contains the information from the first page? well the question should be.. is there a function in php which will bind …

Member Avatar for rje7
0
127
Member Avatar for mCmAl

I have a blog,where I post a lot of songs,and I'd love if somebody could help me implement some sort of script in my blog. Is it possible,that whenever I want to post a zippyshare link,the script automatically converts it into a embedded media player? This is some source code …

0
70
Member Avatar for wangome

i have been building a web site of late but the login page has given me hectic coz it s giving me an error which i dont understand please help me with the correct codes am using dream weaver and wamp server. will highly appreciate.

Member Avatar for peter_budo
0
102
Member Avatar for gchurch

hey well i have a drop down menu or four that collects the day, month, year and number of nights spent over. i'm havin difficulty caluclating the departure date with all this info. can anyone help me???

Member Avatar for gchurch
0
88
Member Avatar for gchurch

is it possible to use a vaiable within the date() insted of using y-m-d. i want to use $day-$month-$year

Member Avatar for gchurch
0
115
Member Avatar for JBLDW

I have the following code section that is used for displaying a list of items and would like to modify it so it displays as a multi column display. I have been told that I need to use a counter, but I cannot find any information on how to do …

Member Avatar for JBLDW
0
214
Member Avatar for captain.don

I want to create a php web page to uload a file on web site.I want, when a user browse the file and click upload then the file should upload on web site and the script will generate the encoded url to download the uploaded file, or any other way …

0
85
Member Avatar for sami.asanga

Hi, I need to get the itemId's from the Database to a combo box where the combo box will increase according to the new values. I wrote a code like this [code] <select name="catId"> <?php //get category id from the database $sql = "SELECT cat_id FROM tbl_category ORDER BY cat_id"; …

Member Avatar for metalix
0
619
Member Avatar for arthurav

I use a couple of functions to which I have to pass the name of the mysqli connection in order to fetch some data. Is it safe to use a global variable for the mysqli connection to skip passing the connection name to the functions?

Member Avatar for FlashCreations
0
108
Member Avatar for ckant_kol2006

I want to upload and store images in MySQL database, but have no idea. Please help me out? Thank you

Member Avatar for FlashCreations
0
346
Member Avatar for mindboggler2010

Hi, I just want to share this function to you that can split an array and return it and formatted as: 'element1','element2' etc. This is useful in your WHERE clause particulary if you are using IN e.g. select id, lastname, firstname from farmers_table where id in ([B]'3408', '1223'[/B]); The BOLD …

Member Avatar for mindboggler2010
0
108
Member Avatar for sami.asanga

Having a problem with updating a picture.I need to replace the current picture in the DB by allowing the users to browse a picture and uploading it.And if the user did not upload any image I need to keep the current picture as it is. I wrote something like this,but …

Member Avatar for Daiva
0
101
Member Avatar for jkaye

Hi All, The basis of this project is that I have an album of pictures, where you can add and delete pictures. What I wanted to do, was when you delete a picture, have the rest of the pictures move down to fill in the gap. The database is set …

Member Avatar for vibhaJ
0
109

The End.