39,402 Topics

Member Avatar for
Member Avatar for spidermite

This is driving me nuts!!! I am passing a text array from a form to another file and trying to display the data. I have reduced the process to it's simplest form and still can not make it work. FormSend.php: [code] <?php echo '<form method="post" action="FormRecieve.php" name="Activate"> <input type="text" name="fruit[]" …

Member Avatar for kvprajapati
0
126
Member Avatar for manojjena1982

Please help me to track it out. how do i use facebook login information to validate a user in my site and also i want to extract some information from facebook about that user.

Member Avatar for kvprajapati
0
65
Member Avatar for gingank

Anyone can help me solve this. I create a web site using css and lot of image when i upload on the apache server all the thing can not be display on my pc or in other pc when i access the address. So any genius help me solve this …

Member Avatar for zapid
0
80
Member Avatar for samarudge

Hi, I have spend a while working on a new project called HappyThumbs (Was going to go for IThumbs but then I Googled it :P)(BTW don't Google IThumbs with safe search off) but I was hoping some people could help me test it and feed back on this thread. The …

Member Avatar for somedude3488
0
123
Member Avatar for srilakshmitr7

In mysql database for date filed i'm using datatype as Timestamp in that field date part is updated as today's date but when comes to time it is updating as 09:00:00 like this instead of 15:00:00 and i'm using wamp.can anyone solve this problem.

Member Avatar for it2051229
0
84
Member Avatar for TommyBs

Hi all, I've recently begun working with mysqli in a php site in order to make use of bound queries. Now I have a config file that I am including in all pages that has something similar to: $dbc = new mysqli(_HOST,_USER,_PASS,_DBNAME); and this works as expected. If I then …

Member Avatar for kvprajapati
0
120
Member Avatar for lamiv007

Hello All, I got hosting from Yahoo. It doesn't allow me to upload files starting with a full stop. And I purchased a classifieds script. It requires the .htaccess file to work. Can anyone suggest a replacement for .htaccess files? I mean any program that works as .htaccess but does …

Member Avatar for samarudge
0
211
Member Avatar for samarthashok

Hello People.. I am using cURL to open up a web page from my page. I am giving my password and email.. but on LIVE HTTP headers a plugin by FF..it shows error 404.. it says so because the new page has a css file named "io.css" and error 404 …

Member Avatar for kireol
0
368
Member Avatar for aneczka

Hi, i really need help with this :/ the export field in my localhost PHPmyadmin has many fields and I must be doing something wrong, because the receiving end doesnt load the database at all. I set: SQL in STRUCTURE: Add AUTO_INCREMENT value Enclose table and field names with backquotes …

0
40
Member Avatar for kireol

Is there a better way to do a search within an array of associative arrays? :) Basically a way to replace the function that I did that works, but was wondering if there's a better way. [ICODE]<?php $employee = array(); $employee [] = array("name" =>"Chris Apple", "company" => "Acme inc.", …

Member Avatar for kireol
0
158
Member Avatar for ChrisJ

Thanks for looking here. I'd like to move the list of thumbnails that appears on the serch page of this php script (see attached). They appear on the left side of the right column. I'd like them to appear on the right side of the right columns and was told …

Member Avatar for ShawnCplus
0
105
Member Avatar for fazilssm

Iam having a form which retrives data which is having pending status from a csv file.This will be displayed in a dynamically created table.Each row will be having a checkbox.If the administrator checks and click approve button,these values have to be stored back to CSV file with status Approved. I …

Member Avatar for djjjozsi
0
62
Member Avatar for sarithak

Hi frnds... What is RSS Feeds..how can i insert into my project? Thanks in advance Saritha

Member Avatar for kvprajapati
0
65
Member Avatar for gingank

Please guide me send multiple attachment in one mail trough php mail script Below is for single attachment the how on multiple attach [ICODE]<?php // Read POST request params into global vars $to = $_POST['to']; $from = $_POST['from']; $subject = $_POST['subject']; $message = $_POST['message']; // Obtain file upload vars $fileatt …

Member Avatar for ayesha789
0
169
Member Avatar for keepbusy

On my website, users have the ability to post comments. Comments get inserted into my mysql database as plain text. When displaying the comments back, I am trying to use the php nl2br() function to allow it to display line breaks as <br /> tags, but it doesn't work. I've …

Member Avatar for keepbusy
0
102
Member Avatar for gingank

I create a three file attachment on the index i name it file attach,file attach2,file attach3 When i wan to upload it only upload one can some one help below is the code. [code=php]$fileatt = $_FILES['fileatt']['tmp_name']; $fileatt_type = $_FILES['fileatt']['type']; $fileatt_name = $_FILES['fileatt']['name']; $fileatt2 = $_FILES['fileatt2']['tmp_name']; $fileatt2_type = $_FILES['fileatt2']['type']; $fileatt2_name = …

0
58
Member Avatar for gingank

Can anyone help me with the code why it is wrong . What Should i need to do to correct. Thank for your help . Pls help me [code=php]if (is_uploaded_file($fileatt3)) { $file = fopen($fileatt3,'rb'); $data = fread($file,filesize($fileatt3)); fclose($file); $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $data = chunk_split(base64_encode($data)); $body .= "--{$mime_boundary}\n" …

Member Avatar for andre.vanzuydam
0
83
Member Avatar for gingank

I wan to the system to field up the ip address automatic then send it into the body message but it out error can help me about this [code=php]$fields{$_SERVER['REMOTE_ADDR']}="IP Address"; $body = "Here is the following detail:\n\n"; foreach($fields as $a => $b){ $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); }[/code] Notice: Undefined index: …

Member Avatar for gingank
0
96
Member Avatar for drakkn

I have no idea where to start. I have a website which sells products via a shopping cart - when someone places an order I want to have the order automatically printed in the despatch area.

Member Avatar for kireol
0
109
Member Avatar for lkinnyc

I have what is probably a basic question, but am new to web development, so don't really know where to look for an answer. Any help is greatly appreciated as I have brick-walled on this one. I have a database of events that are organized by grandparent-parent-event_name structure. So Grandparent …

Member Avatar for Atli
0
1K
Member Avatar for justted

Hello all, Just wanted to see if I am leaving open some security hole in a script I have! When the user logs in it creates a session based on the id field of the users table! For example .... my id is 10 so a session is created with …

Member Avatar for somedude3488
0
109
Member Avatar for tiger86

I'm developing a program in PHP. I'm still a beginner in PHP thus said I may ask some questions that may seem basic. How would you go around compressing PHP into a downloadable file for redistribution.

Member Avatar for almostbob
0
124
Member Avatar for kaex21

i just want to ask if the PHP is the best in creating online information system.. if not.. can you tell me what programming language i will use? thanks you very much for helping!

Member Avatar for Atli
0
85
Member Avatar for thegirlatomic

Can someone help me see what is wrong with this? I have pasted lines 218 to 237 below (the syntax error is on line 237): [code=php] function add_hook($definition) { if (!is_array($definition)) { $definition = array('__global', $definition); } $this->hooks[$definition[0]][$definition[1]] = array(); } /** * Remove function from the allowed hooks. * …

Member Avatar for Atli
0
190
Member Avatar for ChrisJ

In a php script I'm using the Registration page only had fields for name and email address, basically. I added fields, just by copying the code on the page. I added Address1, Address2, City and State. Then I added those fields to the mysql db. However, I need help with …

Member Avatar for ChrisJ
0
319
Member Avatar for gingank

Can anyone tell me is i want to post the $to with the select box how to do it i write the code [code=php]$to= $_POST['to']; if($to == ''1") {POST "address 1";} else { $to=="0" {POST "address 2"}}[/code] Then i mail will post to email address 1 or 0. But the …

Member Avatar for cwarn23
0
138
Member Avatar for Arctic wolf

Hello, as you all already know from my previous question I'm new in PHP(by the way,thanks again for the previous help), I am trying to build a simple "walking" program,so I'll have "forwards", "backeards","right" and "left" buttons and when I click on one of them the picture on the page …

Member Avatar for Arctic wolf
0
126
Member Avatar for borntowin_786

Hi , I am a new in using codeigniter.I want to use a single show_404 page for both admin and user side.But in different way.i.e.if user try to change anything in URL he should be redirected to custom 404 page.this is not required in admin side.So how to differentiate between …

Member Avatar for cwarn23
0
88
Member Avatar for SoulMazer

This is my first PHP script, so please excuse my clumsiness. I have a HTML page which consists of a form and a PHP page which deals with the variables that are outputted. The HTML page functions as a small box that asks to input an email account/password, and the …

Member Avatar for SoulMazer
0
92
Member Avatar for mathman54

Hi, I am lookiing for information as to what people are doing with PHP: Are you using just php in your work? Are you using a templating system like Smarty? Are you learning php? Do you find any of the books teaching php any good? Which one(s)? When an author …

Member Avatar for cwarn23
0
111
Member Avatar for gingank

Hi Everyone, I using EasyPHP now i find out it work every thing in my pc but when i open my things on other pc using the intranet i cant be display it Someone tell me why this happen? i already set the httpd.conf already but still can not. If …

Member Avatar for cwarn23
0
71
Member Avatar for furqan219

Hi to all I have designed a entry page which is used to INSERT Data in a Daatabse table. I use meta fresh tag time =60seconds Now I want to show that in another page with 2 control buttons ACCEPT and REJECT. Problems: 1. I need to show only one …

Member Avatar for furqan219
0
261
Member Avatar for Plyswthsqurles

Ive got the email program itself working fine. It interacts with a database to get the "subscriber list" as the people it sends it too. My problem now is i need to fix it to be able to send .pdf files. I have found a couple of scripts that work …

Member Avatar for Plyswthsqurles
0
178
Member Avatar for julio gomez

Hi, I am testing a PHP web site offline using XAMPP server application. The website runs great, but the only problem is that the .css is not running. The odd thing is that if I am online and I test the website locally the .css file works, but if I …

Member Avatar for julio gomez
0
70
Member Avatar for hmajidy2001

Hi PHP community. I have a PHP script on Linux (CentOS 5.2) which produces a "failed to open stream: No such file or directory" which I am out of ideas on how to solve. I am on the verge of reverting to Perl. The line generating the code is: [icode]$fh2 …

Member Avatar for hmajidy2001
0
4K
Member Avatar for diafol

Hi folks, first of all sorry to say I ain't got any sample code and couldn't find anything obvious from Google and searching forums. Anyone got any ideas about integrating Joomla (latest version) session handling with a bog standard session_start/$_SESSION['user'] (etc) custom pages. Here's the explanation: I wrote a site …

0
227
Member Avatar for avukadomusic

here is my code with problems: [code=php]$url = 'somesite/somepage'; $str = file_get_contents($url); preg_match('/\w(\d*).*?\$/',$str,$matches); print_r($matches[0]);[/code] the goal is to type in any webpage and get its source code into $str and then find the first appearance of the symbol $ in the string and return only the number closest to that …

Member Avatar for digital-ether
0
109
Member Avatar for k2k

hi, does anyone know a secure way to login to another page with username and password. i found numerous on google but i don't know which one is good. if anyone has any good source codes please help.

Member Avatar for MehdiAnis
0
546
Member Avatar for camerman

Hi all. I am just beginning with PHP and I'm having some trouble installing PHP5 with Apache 1.3.29. Both finally seem to be installed and running after some tweaking of the httpd.conf file AddModule comand. However when I run a php file in my browser (IE) I get a message …

Member Avatar for b3n222
0
248
Member Avatar for geny

Hi, There is this link -> [url]http://data.giub.uni-bonn.de/openrouteservice/php/DetermineRoute_rajan.php?Start=7.0892567,50.7265543&Via=&End=7.0986258,50.7323634&lang=en&distunit=YD&routepref=Fastest&avoidAreas=&useTMC=false&noMotorways=false&noTollways=false&instructions=true[/url] ! where I need to extract text, perhaps -> <xls:Instruction>[B]Drive half left on Kaiserstraße[/B]</xls:Instruction> <xls:distance value="[B]284[/B]" uom="YD"/> (bold text). On using something like this : [code] $url="url_just_shown_above"; $output = file_get_contents($url); $xml = simplexml_load_string($output); echo $xml->xls:RouteInstruction->xls:Instruction."<br />"; [/code] I am getting error -> Parse …

Member Avatar for digital-ether
0
112
Member Avatar for itnagusak

hello. i have a page where if you don't select an option an alert message is displayed(i'm using javascript and php). when the user clicks 'ok' the parent page is refreshed. i don't want this(the refreshing). can anyone tell me what to do?

Member Avatar for itnagusak
0
89
Member Avatar for gingank

I a newbie on using the phpmailer. Correct me if i wrong. I create a html index page that a submit form. When i fill up the detail on the form press send it will send mail to my email account using phpmailer function. Question why i cant recieve the …

Member Avatar for Atli
0
298
Member Avatar for skaiwayne

I have 2 mysql tables companies and owner. 1 company can have multiple owners. So far I can insert the company and one owner just fine. But I am having a hard time inserting more owners on the same company. I don't fully understand how to get my value out …

Member Avatar for djjjozsi
0
112
Member Avatar for krm08

Hi experts, I'm extreme beginner in PHP.My problem is that,i've an html page and there's combobox on it,I want to load the form according to the selection of items. The html page is [code=html] <form action="search.php" method="post"> <select name="option" size="1"> <option value="1">value1</option> <option value="2">value2</option> <option value="3">value3</option> <option value="4">value4</option> </select> <input …

Member Avatar for djjjozsi
0
98
Member Avatar for mbabaali

am writting my class work project assignment but am stuck can some one help me out, am tring to pick data from patients table and diagnosistreatment tables which are mysql tables but the code is not working [code]<?php //This code retrieves a particulat patients record from dianosis and treatment table …

Member Avatar for djjjozsi
0
96
Member Avatar for mr.khurrams

I want to make the clone site of [url]http://fishershippingcompany.com/home.php[/url] . is it possible in wordpress or I have to self code this all??? Please suggest me

Member Avatar for mr.khurrams
0
315
Member Avatar for nigelburrell

Hi I am developing a login screen for my website, with usercode and password fields, and a Login button. I need to know how I can make the Login button automatically submit when the user hits the Enter key in either field (as apposed to the user clicking the Login …

Member Avatar for diafol
0
2K
Member Avatar for enzogoy

I just create a php page where user will enter their name in then the page will send them an email with a few word in the body message. Here is the code: [code] $fromEmail = "admin@domain.com"; $subject = "Welcome"; $body = "Hi,\n\nYou have visited the page."; if (mail($Email, $subject, …

Member Avatar for gingank
0
154
Member Avatar for gingank
Member Avatar for gingank
0
107
Member Avatar for devin.lawks

I have no idea why, but the form mailer I'm using is not working correctly. Granted, I'm still a newb, but everything in the code looks fine to me. I'm using a modified version of the free form mailer available at [url]www.TheDemoSite.co.uk[/url] The exact problem is this: I fill out …

Member Avatar for peter_budo
0
232

The End.