39,316 Topics

Member Avatar for
Member Avatar for ROTC89

ok my assignment is to make a login form that will accept a user name and password. if the user name and password don't match it doesnt do anything, but if it does it takes it to a website. my only problem is when i go to run it i …

Member Avatar for Gori
0
117
Member Avatar for UzuNarU

Hi I am working on a website, that has 2 JavaScript elements. I have a post in another thread about loading content into a HTML DIV, I have that partially working. Doesn't work from a link yet. Does work on initial page load. Ok my problem is: I am using …

Member Avatar for Airshow
0
146
Member Avatar for kings

Is it possible to create directory in [url]www.freehyperspace2.com[/url].[CODE=php]<html> <head></head> <body> <?php $i=190; $uploaddir = "resumebasket/".$i; mkdir($uploaddir,0777); print "created"; ?> </body> </html>[/CODE] In this code i'm getting output created.but the directory was not in the site.This access is available in this site.

Member Avatar for Anestori
0
95
Member Avatar for hoektoe

hi i would like to update the lecturer lec_id of an module if that module does not have an lecturer a signed, but same time must not update the modules lecuturer when there is already one present... the columns in table module are mod_id, mod_name, lec_id.. mod_id and mod_names have …

Member Avatar for hoektoe
0
85
Member Avatar for dwlamb_001

I've searched through the threads and I can't find what I am looking for exactly. I apologise if I'm posting something already resolved for someone else. I have a page for browsing the contents of a database. An option for each of those records is to update/edit. The user clicks …

Member Avatar for djjjozsi
0
1K
Member Avatar for esp68

Yes, there are many posts out there about badword filters, and most seem to fall short of something you'd want to turn loose on a corporate website. I've created a fairly elegant badword solution, and I wish to share it with the development community. I'm looking to optimize it a …

Member Avatar for jiawei456123
0
542
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
124
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
64
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
78
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
119
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
81
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
116
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
207
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
366
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
38
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
153
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
101
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
59
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
64
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
166
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
100
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
57
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
93
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
104
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
107
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
120
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
81
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
187

The End.