39,320 Topics

Member Avatar for
Member Avatar for niths

Hello, I have a page where i can upload images. Now i need to copy the uploaded images to a third party server. I have the details of that page. so can anyone help me. Thank You.

Member Avatar for diafol
0
113
Member Avatar for naru vaishnaw

can it is possible when i upload my avatar successfully in upload.php page then auto refresh my mainpage.php after uploading.

Member Avatar for diafol
0
46
Member Avatar for pantera989

Hi, I need help with PHP/javascript/mysql I am fairly new to this so excuse me for my bad programming skills. I have PHP page which has to update mysql table and HTML table onclick. It updates HTML table ok but as soon as I refresh page it updates all data …

Member Avatar for vibhaJ
0
1K
Member Avatar for naru vaishnaw

please can you help me for define image size and width on this code [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])){ echo "Welcome ".$_SESSION['MM_Username']; echo "<img src="; echo mysql_result($userg,0,"avatar" ); echo "></img>"; } ?> [/CODE]

Member Avatar for divyakrishnan
0
153
Member Avatar for naru vaishnaw

my code for show avatar but image not display . how to correct the code [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])){ echo "Welcome ".$_SESSION['MM_Username']; echo "<img src="; echo $userg; echo "></img>"; } ?> [/CODE]

Member Avatar for karthik_ppts
0
149
Member Avatar for 68thorby68

Once again foreach lops are driving me mad. I have a simple multiple select list, where ther user can select one or all of the options [CODE] <form name="checkdata" id="checkdata" method="post" action="test.php"> <label> <select name="sport[]" size="6" multiple="multiple"> <option value="FOOTBALL">Football</option> <option value="CRICKET">Cricket</option> <option value="TENNIS">Tennis</option> <option value="SWIMMING">Swimming</option> </select> </label> <input type="submit" name="submit" …

Member Avatar for twiss
0
135
Member Avatar for manchurianCEO

Hi, I am working on a website and I am having trouble with the index bar. Perhaps this is the way it's supposed to be but I though a PHP meant only having to have one file for all the pages. So, When I click to a link that gets …

Member Avatar for diafol
0
119
Member Avatar for Besherek

Hi folks, I have an existing shopping cart for a print company that allows users to proof labels select qty and send them to a cart. We'd get an email and we'd contact the client for an over the phone payment. We want to use Paypal and I'm curious if …

Member Avatar for Stefano Mtangoo
0
265
Member Avatar for Mr.UNOwen

Hello, I'm fairly new to web development and I need a quick start to getting my website up. I'm planning on hosting the site and I don't expect much traffic as it's just for a start up company that I'm starting and I'm just using it as way of saying …

Member Avatar for Stefano Mtangoo
0
157
Member Avatar for calebcook

Hi. I'm not sure if this is possible or not, but I need to be able to SELECT * FROM all the tables in the database. Is this possible? Thanks!

Member Avatar for oab2003
0
1K
Member Avatar for jrotunda85

Any chance the wonderful people here on daniweb could help me again with a loop? My apologies, loops are not my thing :| Basically what I'm trying to do is add a condition where on the last tweet (that is where the loop = $nooftweets), that tweet gets a different …

Member Avatar for jrotunda85
0
114
Member Avatar for ganeshrnet

I'm looking for a good vanity url for my website... i wish to have the following type of url for my website:- [B][url]http://www.myweb.com/topic_name/123[/url][/B] where the original query string is [B][url]http://www.myweb.com/topics.php?title=topic_name&id=123[/url][/B] I tried to get the scripting from many websites, but none gave me want I wanted... So i've approached daniweb. …

Member Avatar for diafol
0
153
Member Avatar for tstory28

[CODE] <?php include("connect.php"); echo "<h1>Register</h1>"; $submit = $_POST['submit']; $name = strip_tags($_POST['name']); $email = strip_tags($_POST['email']); $password = strip_tags($_POST['password']); $confirmpassword = strip_tags($_POST['confirmpassword']); $level = 0; if ($submit) { $namecheck = mysql_query("SELECT email FROM users WHERE username='$username'"); $count = mysql_num_rows($namecheck); if ($count>0) { die("Email address is already taken!"); } else if ($email&&$password&&confirmpassword) { …

Member Avatar for cjohnweb
0
487
Member Avatar for Geertc

Hello, I have installed a site locally (apache 2.2) and I am now adjusting the settings. I have set my include_path like this : [CODE]set_include_path(get_include_path() . PATH_SEPARATOR . PATH_LIBRARY);[/CODE] When I try to include files from directory beneath the include_path, I get a fatal error, and I get the include_path …

Member Avatar for Geertc
0
92
Member Avatar for johnbo100

Hi all, I've pulled most of my hair out over the last few days and need some help. Description: I am creating a db application with dreamweaver and using php and mysql server behaviour. My database consists of losts of many to many tables that are necessary. I have created …

Member Avatar for ko ko
0
399
Member Avatar for jrotunda85

So I'm trying to create one central file for my navigation which is used across my site; however, some of the pages are in different directories. So, for example , let's say I have the following directories -- domain.com/ domain.com/dir1/ domain.com/dir2/ If I wanted to use the same include between …

Member Avatar for jrotunda85
0
127
Member Avatar for navi17

Can someone present me an example which implements the three tier architecture in PHP. Let's say I have a class student with the fields ID and Name. I want to enter the student ID and Name through a web form and save it to the database. Could someone show me …

Member Avatar for afsha khan
0
639
Member Avatar for tt13

Nowadays i'm working very hardly on one prohect - mini social network with some advantages: You can generate tree style map ([url]http://goo.gl/ZP5yc[/url]) of all relationships of user. For example B, C, D are friends of A. On profile page of A when you click on "generate" button it shows A …

Member Avatar for Ezzaral
0
78
Member Avatar for navi17

Hello friends, Well i just realized onmouseover on select options not working in IE/Chrome/safari. i think bec. IE/chorme doesnot support onmouseover. Can any one tell me the alternative of onmouseover? Thanks

Member Avatar for sharga
0
2K
Member Avatar for naru vaishnaw

upload profile image but upload only ram user pic .other user not able to upload there image .how to define every user has upload there prof. image . anyone help me for this problem [CODE] // Upload Form <?php include("connect.php"); $_SESSION['username']= 'ram'; $username=$_SESSION['username']; if(isset($_POST['submit'])) { //get file attributes $name=$_FILES['myfile']['name']; $tmp_name=$_FILES['myfile']['tmp_name']; …

Member Avatar for ko ko
0
100
Member Avatar for jacob21

Hi, I am using this drop down list.Loop started from 1920 to 2012.I am trying to put 1st value --select-- not 1920. Need suggestion [CODE]<select name="year" id="year" style="height: 22px"> <?php for($y=1920; $y<=2012; $y++) { ?> <option value="<?php echo $y; ?>" <?php if($y==$_POST["year"]) echo "selected"; ?> > <?php echo $y; ?> …

Member Avatar for ko ko
0
57
Member Avatar for serdas

Hello all! I'm pretty much clueless as to how to write code. I saw the following script from [url]http://thinkdiff.net/facebook/users-demographic-data-from-facebook/[/url] so I decided to play around with it but I just can't get it to work. I created the table shown and also a file bd.php where it has the info …

Member Avatar for twiss
0
122
Member Avatar for abhi10kumar
Member Avatar for ko ko
0
62
Member Avatar for muralibobby2015

hello, few days back i attended one interview. he asked write a query for get the results from these tables. there are two tables. one is for 'USER' and another is 'Properties'. in the user table there is 3 feilds user_id,name and subscription_id. in properties page property_id and user_id. here …

Member Avatar for urtrivedi
0
110
Member Avatar for jrotunda85

So I'm trying to figure out the best way (if possible) to combine these two stored procedures. Basically these are the same, the only difference is one is looking at a 'Spot' table, the other is looking at the 'Retail' table. However, in both cases the column count is the …

0
96
Member Avatar for haimz

Hello, im in this domain: [url]www.mydomain.com[/url] i want from this domain to get the referer of the [url]www.myotherdomain.com[/url] there is some way do that? without write abit code in myotherdomain.com

Member Avatar for haimz
0
90
Member Avatar for ashiiiish

How to automatically move an uploaded file to a new location and rename it just after upload

Member Avatar for urtrivedi
0
61
Member Avatar for mrjimoy_05

Hello guys! How to load content into the ckeditor? Pls look [url]http://ckeditor.com/demo[/url] for example. My code is below: [CODE] <textarea class="ckeditor" name="pagecontent" cols="100" rows="20" id="pagecontent"></textarea> <?php include_once "../Misc/ckeditor/ckeditor.php"; $CKEditor = new CKEditor(); $CKEditor->basePath = '../Misc/ckeditor/'; $CKEditor->replace("pagecontent"); ?> [/CODE] I want the content automatically loaded from MySQL database to the CKEditor …

Member Avatar for mrjimoy_05
0
192
Member Avatar for wilko1995

Hi, How would i make something like on google maps where you type in an address/location and it will show you how to get there, and give you directions. I dont need a full code butwould like to knw what something like that is call/how to start off with it. …

Member Avatar for wilko1995
0
102
Member Avatar for jrotunda85

So I've developed some code to pull the latest 8 images from my flickr feed; however, I'm having trouble with figuring out how to do what I'm trying to do. Essentially, I need each 4th image to have a different <div> class (this helps with margins and what not). Any …

Member Avatar for jrotunda85
0
145

The End.