52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for talk2sachi

Hi all, I'm very new to php and I'm working on a project that require to create compcard that should be saved in a folder (uploade) which is working properly. The problem is that now I have to preview that copcard (images) and ask user to save it or not. …

Web Development php
Member Avatar for Wraithmanilian
0
101
Member Avatar for shiv0013

how to create login page using ajax? i know whether to show valid or invalid in the same page.......... but how to redirect to same different page wen its and valid?

Web Development javascript
Member Avatar for shiv0013
0
140
Member Avatar for stangn99

Hey guys...I've run into a little issue (noob here). I’ve setup a little application for scheduling days + times in different rooms. I’m trying to implement some sort of an error check which determines is someone has already been scheduled for a certain day, time(range), and certain room. For example: …

Web Development php
Member Avatar for stangn99
0
136
Member Avatar for ronaldpaul

[CODE]<select name="splace" onchange="eval(this.value)"> <option value="javascript:show_loc('1');">Chennai</option> <option value="javascript:show_loc('2');">Coimbatore</option> </select>[/CODE] In the above code, in the option the value property is given as a javascript. Since in IE the onclick function doesn't work I've placed onchange in the select and then given the javascript in the option value. Now to save the …

Web Development javascript php
Member Avatar for wrivera
0
169
Member Avatar for Venom Rush

Hi all I found cURL and want to use it to upload a file after a form has been submitted. I found the following code on [URL="http://php.net/curl"]http://php.net/curl[/URL] [CODE=php] <?php /* http://localhost/upload.php: print_r($_POST); print_r($_FILES); */ $ch = curl_init(); $data = array('name' => 'Foo', 'file' => '@/home/user/test.png'); curl_setopt($ch, CURLOPT_URL, 'http://localhost/upload.php'); curl_setopt($ch, CURLOPT_POST, …

Web Development php
Member Avatar for wrivera
0
132
Member Avatar for Wraithmanilian

Question to toss out to the group. I have on many occasions created a daemon for things like XML Sockets and Flash-based socket chat. My question is concerning sound and/or video. Are there any of the veteran posters here that have had hands-on experience with socket-streaming video or audio? I …

Web Development audio flash php video xml
Member Avatar for Wraithmanilian
0
90
Member Avatar for Jellybaby

For my college I need to make a game called Lingo and I'm not even close to finding out how to do it since I was only given 2 lessons so far. If anyone has existing code or knows some functions or ways of helping I'd appreciate it.

Web Development php
Member Avatar for Jellybaby
0
196
Member Avatar for Tunernetwork

I was told to ask my question here, so bare with me as I am new here! C+ code and vbulletin question I hope this is the appropiate place if not I apologize now and move if need be. I need help on this. I am workin on a site …

Web Development asp.net c c# c++ vbulletin
Member Avatar for sknake
0
145
Member Avatar for mohammadxxx

hi i have this code (Latest Threads IN Marquee ) and want when click on any link that open in new tab . [CODE]global $db, $vbulletin; if($vbulletin->options['latest_Threads_order']==1){ $latest_Threads_order="order by thread.dateline Desc"; }elseif($vbulletin->options['latest_Threads_order']==2){ $latest_Threads_order="order by thread.views Desc"; }elseif($vbulletin->options['latest_Threads_order']==3){ $latest_Threads_order="order by thread.replycount Desc"; }elseif($vbulletin->options['latest_Threads_order']==4){ $latest_Threads_order="order by thread.lastpost Desc"; }elseif($vbulletin->options['latest_Threads_order']==5){ $latest_Threads_order="order by thread.dateline …

Web Development php vbulletin
Member Avatar for mohammadxxx
0
162
Member Avatar for takeshi

Hi..Good 'day! wanna ask that is there any code in uploading image in php..i wanna add field name in my [B]candidate table[/B] in my database..and i wanna add there[B] image[/B] but i do not know what's the right data type am going to use..as well as the code..

Web Development image php
Member Avatar for takeshi
0
113
Member Avatar for takeshi

hi...My friend of mine told to use this code [CODE]if($session->isAdmin()) the check if the user is logged in & has admin privileges if($session->logged_in) to check if the user is logged in (simple user) [/CODE] in login system.but it doesnt work at all..i want that if i login into the system,my …

Web Development php session
Member Avatar for takeshi
0
93
Member Avatar for Aamit

Hi, I my application lots of business name with their address store in DB. i want to show google map for them. [COLOR="Red"]How to show google map from address. Or add new column for latitude and longitude? [/COLOR]

Web Development google php
Member Avatar for K0ns3rv
0
123
Member Avatar for chienee

[code] <?php session_cache_limiter('private,must-revalidate'); session_start(); require_once("config.php"); include ("classes/db_functions.php"); include ("classes/display.php"); $dbf=new db_functions(SM_DB_HOST,SM_DB_USER,SM_DB_PASS,SM_DB_NAME); ?> <link href="style/report.css" rel="stylesheet" type="text/css" /> <?php if (@$_POST['Submit']=="Save Report") { $sql = "select * from customreport order by id desc"; $linkID=mysql_connect(SM_DB_HOST,SM_DB_USER,SM_DB_PASS); mysql_select_db(SM_DB_NAME, $linkID); $result = mysql_query($sql)or die(mysql_error()); $nume = mysql_num_rows($result); $row=mysql_fetch_array($result); if (!empty($nume)) $nume = $row['id'] + 1; …

Web Development mysql php
Member Avatar for cwarn23
0
304
Member Avatar for aditi_19

Hi, I have uploaded all my php pages to the server and everything runs perfectly fine. There is just one problem. When i click the refresh button on any page, the user is automatically logged out (session destroyed) and is directed to the login page. When i was refreshing the …

Web Development php session
Member Avatar for harshbavaliya
0
123
Member Avatar for ebosysindia

hi I have a checkboxes on my page (.aspx) like checkbox1 - item1 checkbox2 - item2 checkbox3 - item3 etc what i want is that when a user selects certain checkboxes they should be inserted into a table called customer which has fields (customer id and actions) the data should …

Web Development asp.net
Member Avatar for boycuoi
0
94
Member Avatar for takeshi

Hi..Wanna ask if someone knows how to retrieve records in database in PHP...I want that if i click the "retrieve button" all records will retrieve..I'll use retrieving when disaster occurs..tnx in advance.. :)

Web Development php
Member Avatar for harry_watson
0
157
Member Avatar for OmniX

Hi People I would like to know how exactly to setup the links you see below that are attached to the article so send to digg, facebook, etc. Also what is the offical term for these links? special links? special tags? ??? Thanks, Regards X

Web Development php
Member Avatar for OmniX
0
120
Member Avatar for ayesha789

Hi Dear All I have 1000s of JPGs Images. Names like S-KHI-1233 Now I need To rename all the images and new name should be last 4 numeric digits like 1233. For all 1000 JPGs I want to do this. if image name is S-KHI-1964 then new name should be …

Web Development image php
Member Avatar for ayesha789
0
170
Member Avatar for takeshi

Hi.. i create a search button in my program..to search in a particular record in my database..what are the codes that i'll be using in order to search a record? tnx in advance..Godbless

Web Development php
Member Avatar for takeshi
0
474
Member Avatar for peck3277

Hey guys i'm pack for more help again! For a site I'm making I need a shopping cart. It's all working but for some added functionality I would like to be able to update quantity of an item using an input box. For an example see this site: [url]http://www.oonaghnaturals.com/ShoppingCart.php?[/url] I'm …

Web Development php
Member Avatar for JRM
0
2K
Member Avatar for benk1

Hi guys I'm looking for a starting point to have a login for a website. The situation is as follows - I have a common product list, with 3 price bands (gold, silver, bronze) When a gold customer logs in, I want to search the db for the products, and …

Web Development php web-server
Member Avatar for benk1
0
137
Member Avatar for still_learning

I know this sounds so stupid, but it's a project that I am working on. I need to develop an application where people can upload a picture of themself and then it will add a wig to their picture over their hair. I just don't know how the code scans …

Web Development javascript
Member Avatar for still_learning
0
85
Member Avatar for usm

Hello, I want record the visitors ip address and how many time they access my website but the problem that if the visitor behind firewall, so all I'll get a hundreds of visits from the same IP address so I thought about using cookie , first I'll search for my …

Web Development php
Member Avatar for wrivera
0
88
Member Avatar for vizz

I want to use 3 DIV tags: 1) As Left Panel 2)Center Panel 3)On different page with contents How to use 1 DIV to open 3 DIV in 2 DIV? Is it possible?

Web Development php
Member Avatar for Kruptein
0
77
Member Avatar for barryw33

Hi I am a Ajax noobie and need a little help with a simple ajax mysql problem I have a php page witha ajax function that calls a php page and in the php page I run a mysql select I then pass the result back to the page that …

Web Development javascript
Member Avatar for wrivera
0
112
Member Avatar for cali_dotcom

Hi i am not so good with javascript so i really dont know the best way do do what i want to do. want to make a form that allows people to add and delete rows with javascript but it just doesn't work the way i would like. javascript is …

Web Development html-css javascript
Member Avatar for wrivera
0
152
Member Avatar for barryw33

Hi, I am trying to create a private chat from hacking some opensource chat room. All going well to a point. I am trying to use some basic AJAX (noobie) to insert a field into a mysql db. It is doing what I want it to do mysql wise but …

Web Development javascript
Member Avatar for barryw33
0
174
Member Avatar for omnis
Member Avatar for wrivera
0
3K
Member Avatar for Boronia

Hi If anyone could help with below code as I am new to php [code]<?php $result = mysql_query("SELECT * FROM hotels ORDER BY city"); while($row = mysql_fetch_array($result)) { echo $row['city'] . " " ; echo "<br />"; } ?>[/code] above code list all cities as below newyork newyork newyork newyork …

Web Development php
Member Avatar for wrivera
0
58
Member Avatar for mitalichauhan

Hey guys! I am a beginner of php. so i don't know that which will be the best as a loop? While ? or For ? Can anyone help me please.... I want to do this...! Just count 1 to 10 and then add it... i mean 1+2+3+4+5+6+7+8+9+10 nothing much.... …

Web Development php
Member Avatar for JRM
0
108
Member Avatar for SgtMash

Back again! I now need to check if a variable holds one of multiple values...I.E: [CODE=PHP]if ($cvalue == "Germany" OR "England" OR "latvia" OR "Africa") { echo "Do something" ; }[/CODE] In VB I'd just have used something like: [CODE]in("Germany" OR "England" OR "latvia" OR "Africa")[/CODE] Any help appreciated...digging through …

Web Development php
Member Avatar for kireol
0
122
Member Avatar for mundetas

I have been trying to post a value from a radiobutton selection into my database. My datatype in mysql is int. I want value to be 1 or 0. But I believe it takes the value from the radio input type as a string. I need help in posting a …

Web Development php
Member Avatar for wrivera
0
80
Member Avatar for Hitman Mania

So I'm trying to make a program that counts how many vowels are there in the user's first name. I tried to make the code but its not 100% functional, can someone take a look and tell me where I went wrong? [CODE]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …

Web Development php
Member Avatar for Hitman Mania
0
1K
Member Avatar for peck3277

Hi guys, Hope i'm putting this in the right place. Apologies if i'm not! I'm making a website for a sports suppliments supplier. I'm having some trouble with how to layout the database. I have a navigation menu which has all the categories listed. But some of my products are …

Web Development mysql php
Member Avatar for peck3277
0
74
Member Avatar for reececropley

[B]Ok so I guess there are many threads about undefined indexes.[/B] I am trying to create a form in which a user can upload both textual information and an image. In my site its adding a watch included information and a picture into a database. I have two questions. First …

Web Development php
Member Avatar for nav33n
0
239
Member Avatar for jibhekar

Hi, i have developed a asp.net project(on visual studio 2005) and created a web setup, this project is running fine while i am running in development enviorment(Visual studio), but after installing the setup ,my installed website is running but it is not able to access sqlServer Database ... what i …

Member Avatar for mail2saion
0
84
Member Avatar for SgtMash

Hi there, I'm struggling to get a simple if statement to work. I am passing a country though to a page from a previous page ( ?country=Poland) and then trying to evaluate it and display a specific bit of text if the country is for example'Germany'. Here's what I have: …

Web Development php
Member Avatar for nav33n
0
96
Member Avatar for vipin saxena

hi all, and respect for seniors & experts, i m a free lancer vb6 programmer and wants 2 shift 2 web development. i m very much confused as 2 which combination of technologies 2 opt. to opt for open source or not., which client side technology and which server side. …

Member Avatar for vipin saxena
0
97
Member Avatar for Midnite007

If I have a text file and in PHP for example want to read that test file but only a certain part what commands could I use to do this ? Sorry but I am a beginner in PHP and I am lost ... Say for ex I have a …

Web Development file-system php
Member Avatar for Atli
0
249
Member Avatar for Venom Rush

Hi all I've been trying to find a jquery list selection solution along the lines of the following. I want to have two boxes. One on the left that holds all the options to choose from and a box on the right that holds the options selected in the left …

Web Development javascript javascript-jquery
Member Avatar for Venom Rush
0
135
Member Avatar for love_dude1984

hi.. Im trying to install SQL Server 2005 on my server.. but at a certain point it is giving an error which is unknown to me..im attaching a snap of the error.please let me know how to solve this error.. What does that domain account mean??? wher i can create …

Web Development asp.net sql
Member Avatar for Seten
0
117
Member Avatar for Cyb3rAssasin

Hi I need help I cant find a php editor that has a built in ftp client so i can just click on a file and open it. Ive tried notepad++ with the ftp add on but it doesnt work :/ Any ideas?

Web Development php
Member Avatar for bewodo01
0
164
Member Avatar for vudugumahesh

i am final year student. Now i want to do my academic project. i want to do the project in dotnet. so, please suggest me which site is better to do the project Thanks

Web Development asp.net
Member Avatar for chaitrapc
0
70
Member Avatar for nkumar0101

php code to convert doc file to html like in monster.com they take the CV in word file format and display it in a html format

Web Development html-css php
Member Avatar for yogigarg85
0
246
Member Avatar for psyb0rg

Is there a way I can see what exactly is sent by curl in the post? With the body and headers and all. Thanks.

Web Development first-post php
Member Avatar for kireol
0
102
Member Avatar for Bolade

All I want to do is to design a form to collect info from users and have a php process it but I kept getting this error shouting undefine variable. Please some 1 check my code and tell me what is beyond my glimps [B]The form[/B] [CODE]<form action="process.php" method="post"> Your …

Web Development apache php
Member Avatar for almostbob
0
98
Member Avatar for LloydFarrell

Hi all, i have a DOB input that I am trying to output to a textfield called "StarSign" The DOB works great, uploads to the database fine, What I would like to do is from the given DOB - Output the StarSign to a textfield called starsign. i have dob_y …

Web Development php
Member Avatar for wrivera
0
381
Member Avatar for motieno

Hallo Could some tell me why am getting the following error message. Parse error: syntax error, unexpected '{' in C:\wamp\www\financialacadem\thank_you.php on line 23 Here are the codes for both the contact.php and the thank_you.php [CODE] <form id="contact" action="thank_you.php" method="post"> <div class="form-row"> <label for="first_name">First Name</label>: <input name="first_name" id="first_name" class="required" size="30" maxlength="50" …

Web Development html-amp html-css php
Member Avatar for JRM
0
173
Member Avatar for Begjinner

Hello, I have this in my CSS: [code] #contentbox a{ font-weight: bold; color: #c8a468; cursor: pointer; }[/code] And want to change the color with Javascript's function: document.getElementById, but when I use document.getElementById('contentbox a').style.color= "#d05048", I get an error that it doesn't know 'contentbox a'. I tried multiple things and searched …

Web Development javascript
Member Avatar for wrivera
0
179
Member Avatar for tunde011

posts on my site are usually like this [url]www.mysite.com/detail.php?topic=899[/url] the user post $name, $email, $comment there is an hidden field $hidden After success posting comment i want it to send an email to their email saying blah blah... In the email, i want to include the hidden field so i …

Web Development php
Member Avatar for tunde011
0
489

The End.