39,316 Topics

Member Avatar for
Member Avatar for masterjiraya

[CODE=PHP] <html> <title> consonants vowels and numbers </title> <body bgcolor=red text=white><form method=post><font size=15> Enter a word(s):<input type=text name='phrase'></br> <input type=submit value=generate></br> <?php $vowel; $conso; $nums; switch($_POST['phrase']){ case'a': case'A': case'E': Case'e': Case'I': case'i': case'O': case'o': case'U': case'u': $vowel+=1; break; case'0': case'1': case'2': case'3': case'4': case'5': case'6': case'7': case'8': case'9': $nums+=1; break; …

Member Avatar for diafol
0
147
Member Avatar for karthikanov24

hi In the following posted code(add products at admin side) [CODE]function addProduct() { $catId = $_POST['cboCategory']; $name = $_POST['txtName']; $description = $_POST['mtxDescription']; $price = str_replace(',', '', (double)$_POST['txtPrice']); $qty = (int)$_POST['txtQty']; $images = uploadProductImage('fleImage', SRV_ROOT . 'images/product/'); echo $images; $mainImage = $images['image']; $thumbnail = $images['thumbnail']; echo $mainimage; echo $thumbnail; $sql = …

Member Avatar for Rkeast
0
73
Member Avatar for sammy95

Hello ! I am looking for a script that can fetch emails from a mail account and post them on a webpage. The body of the mail should be the body of the post and any attachments should be posted as an downloadable attachment to the webpage post. Each new …

Member Avatar for ShawnCplus
0
54
Member Avatar for sim_pack

how secure are php codes/scripts when they are deployed in a server (or when they become online)? if i put constants and/or passwords in my php codes, will they be visible and be 'sitting duck' targets for hackers?

Member Avatar for almostbob
0
317
Member Avatar for cybershark

Hi, I'm trying to get the IF\ELSE statement within the foreach to print "keyword," or if it's the last element in the array just to print "keyword" [CODE=php]$key = "mykey"; $url = "http://access.alchemyapi.com/calls/text/TextGetKeywords"; $text = <<<EOD Barrier Logic The barrier logic is a reliable cost effective solution to barrier electronics. …

Member Avatar for cybershark
0
126
Member Avatar for varadharaja

Hi Friendz!!! Am varadharaj new to be this forum,and i would like to share your ideas,about php and more technical...anyone can reply for me... Thanks alot... varadharaj

Member Avatar for guru12
0
69
Member Avatar for j_limboo

I am new to PHP This is Google search results in your site or localhost Here is the code but I am stuck the page does not go to 2 page Please advice [code=php]<form action="search.php" method="POST"> <input type="text" name="search"> <input type="submit" value="Search"> </form> if (@$_POST['search']==""){ echo "What are you doing?"; …

Member Avatar for cwarn23
0
307
Member Avatar for rejisha.m

Hi all, Can we upload a file as background process ? if so how can we do that??? if anybody knws please please do reply... thanx in advance...

0
42
Member Avatar for sam023

i have included following code in .htaccess file and place it my project root folder..!! [code]Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [nc][/code] but url still showing .php extension like localhost/project/index.php instead of localhost/project/index.htm.!! i have check the mod_rewrite is loaded.!! or anybody can tell another way to rewrite the …

Member Avatar for cwarn23
0
116
Member Avatar for railto

Hi guys and gals, Im working on a project at present where i need to be able to upload a batch of apporx 400 files each week. What i need the script to do is, when a driver enters his number and a pin that the script will then search …

Member Avatar for railto
0
146
Member Avatar for rejisha.m

Hi all, i am new in php. i have a doubt regarding the file uploading. What my requirement is -- process the file upload as a background process using the shell commands like system() or exec() .How can we do this? From the site --php.net -- i got the following …

0
40
Member Avatar for click here

[URL="http://jooria.com/Tutorials/Website-Programming-16/Limit-Characters-From-Your-Text-139/index.html"]i found this Limit Characters From Your Text [/URL] but i cant use it when my text became less than 2 words please any one can fi it

Member Avatar for click here
-1
87
Member Avatar for Aamit

I want to find all hidden values name and values ?? in div id divTopLeft. How to find this?? [code] <div id="divTopLeft" class="workarea" > <ul id="ul2" class="draglist"> <li id="li1_2" class="list1"> PR 3 <input id="draglist_directory_submissionPR3" type="hidden" value="13" name="draglist_directory_submissionPR3"/> </li> <li id="li1_1" class="list1" style=""> <input id="draglist_directoryPR3" type="hidden" value="10" name="draglist_directoryPR3"/> </li> <li id="li3_3" …

Member Avatar for jay_412
0
100
Member Avatar for ronny22

can somebody help me by telling me what the problem is this is my error i keep getting Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Unknown column …

Member Avatar for darkagn
0
148
Member Avatar for Stefano Mtangoo

Hi All, I want to incorporate chat room in my Website (Currently still on WAMP). What chat software is good? Is it easy to write mine from the scratch? Any tutorials if that is possible? Thanks Guys!

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for nagatron

Hallo to all, I have a problem on how to test an existing data from the database. . .I have this registration form which displays an error if the user inputs a username and emai address which already exist in the database. Please help me, I can't find any related …

Member Avatar for nagatron
0
89
Member Avatar for jespin

Hi all, This is my first post to be gentle. I'm currently researching for my dissertation project where i'm planning to make a forum that allows users to discuss crusing events. The site will allow user login and will have admin features. My issue occurs on the members side of …

Member Avatar for diafol
0
276
Member Avatar for Ashwin Vasnai

some body help me.I want to know how to put the dropdown list from database at my textbox cursor. full problem definition is like this. I want to create a Hint system for SQL which will give the structure of of Query. for example if user enters trigger he will …

Member Avatar for Ashwin Vasnai
0
136
Member Avatar for DealthRune

When I use my php, and code it and such, for some reason when I use '<?' my php doesn't work. And I need it to go like that because I download a lot of scripts other people made and most of them don't use '<?php'. Can anyone help??

Member Avatar for DealthRune
0
175
Member Avatar for bwest

If your familiar with database search results, then you probably know how useful the GET method is. My results page is a list of site members from the database. We want to have a feature that allows users to add these members to a html select box to "save a …

Member Avatar for meabed
0
151
Member Avatar for laxy_m
Member Avatar for meabed
0
386
Member Avatar for Muazam

Hey, htmlentities doesn't work in this code of mine, someone know why? Check line 11-14 Thanks. [code]<html> <head> <title> Welcome <?php echo $_GET['name']; ?> </title> </head> <body bgcolor="<?php echo $_GET["favcolor"]; ?>"? <h1> Welcome <?php echo $_GET['name']; ?> </h1> <br /> <?php foreach ($_GET as $key => $verdi) { $verdi = …

Member Avatar for Muazam
0
147
Member Avatar for nagatron

hallo to all web developers, I am having this problem. . .what does it mean? This happen everytime I put username and password on my sql database. . .[B]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in C:\xampp\htdocs\sample\index.php on line 2 Access denied for user 'admin'@'localhost' (using …

Member Avatar for nagatron
0
80
Member Avatar for francis123

Hello! everyone out there! I am having a table that looks like this in phpmyadmin ....................................................................................................... . id . fname . lname . user_id . trackdate . country . ....................................................................................................... . 1 . Jonh . Mark . 10 . 21 . USA . . 2 . Frank . Yank . …

Member Avatar for francis123
0
99
Member Avatar for ned69

I have a joke script which currently displays a new joke each day and I want to change it to where it displays one every week. I keep getting the SQL error below but when I run it in phpMyAdmin it works just fine. Most likely some little thing which …

Member Avatar for ned69
0
127
Member Avatar for click here

hi i use cookies in my site setcookie("user","id-pass",time()+(60*60*24)); it work well but when i try to logout make setcookie('user', '', time() -(60*60*24)); its not work iam tried setcookie('user', ' ', time() -(60*60*24)); not work tried unset($_COOKIES['user']) not work tried replace it not work too iam tried every thing

Member Avatar for click here
0
97
Member Avatar for sarithak

Hi frnds... i have to do resume uploading to email...plz give me the code for uploading resume to email.. i know the code for sending email..but dont know how to do the attachement....plz tell me... this is my code(this code only 4 mail..not 4 attachment)...plz change this code for attachment... …

Member Avatar for ivatanako
0
91
Member Avatar for Susan.LK

I have a login form which redirects the user to a new page if the form is submitted, however it does not show the error messages on the same page as the form. Currently if nothing is typed in user or passwords fields, the same page is relaoded process2.php showing …

Member Avatar for Susan.LK
0
126
Member Avatar for vssp

Hai friends I need one clarification for cookies . How to distroy the cookies using php . Please help me Thanks vssp

Member Avatar for click here
0
1K
Member Avatar for Cheeki

Hello guys, I'm having a issues with the imagecreatefromgif() function. I'm running WAMP on my laptop which is running SQL 5.1.36, PHP 5.3 and APACHE 2.2.11. Now if I create a gif image using the imagecreatefromgif() function and add a rectangle to the image and then create the image again …

Member Avatar for cwarn23
0
101

The End.