39,326 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I wonder how to install GDChart in Windows XAMPP PHP ? Thanks.

Member Avatar for pritaeas
0
162
Member Avatar for DJ-DOO

Hi, I'm really hoping someone can help me. I've created a clocking system. The user clocks in,the clockin time is stored in the db, the user clocks out, the time is stored in the db. However, I want to store the difference, in other words the hours that would've been …

Member Avatar for pritaeas
0
305
Member Avatar for rajeshswain

Hi Friends, I want to upload a image file to my mysql database. But before that i want to resize it. I have used the following code. But what happens is that the image is successfully resized but the quality is not retained. Please someone guide me with some help. …

Member Avatar for mukhtar1234
0
3K
Member Avatar for shahai.ali

hi i was trying the following to invite the list of contacts from gmail. <html> <body> <?php if(isset($_POST['submit'])) { $email = 'https://mail.google.com/mail/feed/atom'; $sender = 'abc@gmail.com'; $send = mail($email, "Invitation", "Testing e-mail", "From: $sender"); echo $send; } ?> <form action='inviteList.php' method='post'> <font>Invite your friends</font><br><br> <font><b>Email: </b> <input type='text' name='email' size='30'><br> <input …

Member Avatar for shahai.ali
0
280
Member Avatar for shahai.ali

i have following form in html: <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form> and my upload_file.php is in the following: echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo "Type: " . $_FILES["file"]["type"] . "<br>"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . …

Member Avatar for shahai.ali
0
2K
Member Avatar for vivosmith

Hello, I have a forum up an running at [mildaspergers.com](http://mildaspergers.com/phpbb3/index.php?sid=5fc84bc92d43cf37136682874ae1a45c), and everything is doing well, except for one thing. Myboard index button is redirecting to a photo. What should I edit in order for this to work properly?

Member Avatar for vivosmith
0
246
Member Avatar for hwoarang69

let say i create session in login page. here session is on id and username. $_SESSION["id"] = $id; $_SESSION["username"] = $username_p; now to see who loged in i can do this $user_name_s = $_SESSION['username']; //has the name of who is loged in now how do i do this with cookies? …

Member Avatar for LastMitch
0
106
Member Avatar for apanimesh061

I want a button which when clicked opens a windows explorer window then the content of the file that I choose should get copied to the text area on that page... I have extensively searched but could not find anything ...

Member Avatar for LastMitch
0
178
Member Avatar for Djmann1013

Hi, I have no knowledge of preg_match(). I was wondering on how to detect if the text I send to the function, and only allow the text like this: sample1127 Like that, with no underscores or anything. Just text and numbers. I would be happy if you helped...

Member Avatar for Djmann1013
0
212
Member Avatar for Djmann1013

I have this code right here: if(isset($_SESSION['username'])) { header("location: home.php"); exit(); } This code works, but I want it to redirect to home.php with out having to visit a different page and then the page this code is on to trigger the code. I don't know how to do that. …

Member Avatar for Djmann1013
0
992
Member Avatar for mohamedasif18

Hi Guyz, Am facing an issue that $_GET[] not working in my Mod_Rewrite, My Odd URL is : http://groupon.ig-demo.com/index.php?id=12&dealname=Oil%20Treatment My Friendly URL is : http://groupon.ig-demo.com/id/12/Oil%20Treatment.htm And My HTACCESS is : Options +FollowSymlinks DirectoryIndex index.php RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] RewriteRule ^id/([^/]*)/([^/]*)\.htm$ …

Member Avatar for diafol
0
296
Member Avatar for kiLLer.zoh

if have checked this query several times but it aint passing the data to database..in other way every thing seems fine in this query kindly please sort out ths problem. $qry="Insert into `postjob` (jobtitle,positions,category) VALUES('".$_POST['title']."','".$_POST['position']."','".$_POST['cate']."')"; printf mysql_query($qry) or die(mysql_error());

Member Avatar for GliderPilot
0
110
Member Avatar for cheelo007

Ok, I may be missing something very easy but when I submit and query the database the session doesn't set for some reason and I'm sent back to admin.php per instruction of my index.php file. Could someone please give this a look over, maybe it's a very simple fix, but …

Member Avatar for cheelo007
0
379
Member Avatar for sultankhan

i have image table with the follwing column `ano(my image id) aphote adteail exactar ` 6 image` and i have an comments table comeents `cid(comt id) user1(userid),ano(iamge id) comments` ` 1 10 here is problem hiiiiiiiii` i want if a user comments on picture then the picture id should add …

Member Avatar for broj1
0
168
Member Avatar for webdev2012

Hello, So in my root directory sessions work fine. On every page I include an initialization page like so: <?php include "http://localhost/home/core/init.php";?> On this page I start the session: session_start(); Now when logged in to my site I can browse every page in the root directory and still be logged …

Member Avatar for veedeoo
0
461
Member Avatar for GlenRogers

Ive uploaded a site to my server. I have a very simple login form for the owner to lofg in and update content. But I am getting this error. 'Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage22/re/pt/il/reptile-ni.co.uk/public_html/php/login.php:3) in /websites/123reg/LinuxPackage22/re/pt/il/reptile-ni.co.uk/public_html/php/login.php on line 28' Here the …

Member Avatar for diafol
0
341
Member Avatar for HelloJarvis

Hello everyone, I am working on a program that is sending some input to a thesaurus API, but not after stripping any non-alphanumeric characters. This would be easy, except I want to also preserve the original non-alphanumeric characters for output; for instance, if the user sends "hello;", the request to …

Member Avatar for HelloJarvis
0
208
Member Avatar for shahai.ali

hi i am working in php. and my assigned task is to upload a file and save it into the directory. i have install wamp into D-drive but it not working and dont get the path. i was trying the following: <?php echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo …

Member Avatar for hakeemtunde
0
271
Member Avatar for adam.adamski.96155

Hello :) I'm working with a database of postcodes. I have an existsing query that returns the postcodes within a certain radius: `select *, acos(cos(51.496502411798 * (PI()/180)) *cos(-0.13982862499836 * (PI()/180)) *cos(lat * (PI()/180)) *cos(lng * (PI()/180))+cos(51.496502411798 * (PI()/180)) *sin(-0.13982862499836 * (PI()/180)) *cos(lat * (PI()/180)) *sin(lng * (PI()/180))+sin(51.496502411798 * (PI()/180)) *sin(lat …

Member Avatar for pritaeas
0
137
Member Avatar for tscina

I have a working mailer script which has already started sending out mails. We need to send an email message to approximately 5,000 email addresses. I have a few problems though. 1.) It's sending out really slow. I'm guessing it's the embedding? The image is 300+kb big, is it supposed …

Member Avatar for tscina
0
326
Member Avatar for hakeemtunde

Hello guys, i've being searching for how is it possible to get value of a form element i.e selection tag that was injected by jquery be access on submitting the form. All the form element value where posted except for the selection element that was injected with jquery. how can …

Member Avatar for hakeemtunde
0
99
Member Avatar for VEL Hassan

How to upgrade PHP 5.2.10 version to PHP 5.2.13? I have already had PHP 5.3.19 and downgrade the version to PHP5.2.10 and I need of PHP 5.2.13. I have downgraded version using the script file. Thanks in advance.

Member Avatar for LastMitch
0
159
Member Avatar for Vijaysurya

Hai everybody, I need help in making chat room similar to facebook chat. store in database userid based. anybody plz help me.

Member Avatar for paulinetaylor85
0
188
Member Avatar for aldred

<?php include 'include/AnonymousHeader.php'; $CON = @mysqli_connect('localhost', 'root', '', 'allyouneed') OR die('Could not connect to MySQL: ' . mysqli_connect_error()); ?> <table width="700"> <tr> <td> <h1>Sales Registration</h1> </td> </tr> <?php if (!(empty($_SESSION['LoginStatus']))) { $SQL1 = "SELECT * FROM sales"; $STM1 = @mysqli_query($CON, $SQL1); $ROW = 0; $SalesID = ""; if ($STM1) { …

Member Avatar for LastMitch
0
611
Member Avatar for tibormarias

Dear Programmers, I want to change accent characters in my smart URL to non-accent characters... For example : www.mysite.com/123/békítő to www.mysite.com/123/bekito. Is it possible through .htaccess? Here is my current .htaccess DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ RewriteRule . %1/%2 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond …

Member Avatar for LastMitch
0
447
Member Avatar for romanromeo89

Hello I'm running a php function to get some user information from mysql using pdo. The problem is that i don't get the results i want. This is my php code: <?php require_once('db_connect.php'); function mila(){ global $dbh; // Set dummy variables $required_id=1; // Select table with query $sth = $dbh->prepare("SELECT …

Member Avatar for diafol
-1
220
Member Avatar for davy_yg

Hello, I am a mysql table called: adsmgt which consists of: idads and time I would like to count the number of row in adsmgt how to do so? I try this: mysql_select("select TABLE admgt count(idads)"); This error appears: (it doesn't matter if the idads are twins they still have …

Member Avatar for diafol
0
176
Member Avatar for cdays

i a student doing a degree in computing and information technology in zimbabwean am supporsed to create a project but i need help im what project to create.

Member Avatar for gabrielcastillo
0
127
Member Avatar for questorfla

I have read several replies here and I am in the process of testing them now but since this is a problem I need an urgent fix for, I thought it would not hurt to ask again. We have an Apache website that is extremely simple in design. It's main …

Member Avatar for yehuda2001
0
215
Member Avatar for rhayken

GUYS IM NEWBIE HERE , GUYS I NEED YOUR CODING SKILLS . CAN U CREATE ME A AUTHENTICATION PAGE THAT HAVE LOG IN AND REGISTRATION PAGE ?? PLEASE GUYS I NEED IT IN MY WEBSITE ..PLEASE !! THANK YOU IN ADVANCED :) CHEERS !!

Member Avatar for yehuda2001
0
83

The End.