52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for altarek

I used this code to upload file but it remove The first word of the name of the file When the file name in Arabic [CODE]$notefile = basename( $_FILES['file']['name']) ; $target_path = "files/"; $target_path = $target_path . basename( $_FILES['file']['name']); if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) { echo ""; } else{ echo ""; } [/CODE] …

Web Development file-system php
Member Avatar for Shanti C
0
71
Member Avatar for vijaysachin

Hi All, I have one strange issue, JSP cannot Identify the JS, CSS file path when URL pattern is /*. Let me explain in detail. Irrespective of relative path my application should have to call Home.jsp. So for that I have specified URL pattern as /*. This logic is working …

Web Development file-system html-css java-jsp xml
Member Avatar for code learner
0
351
Member Avatar for zlloyd1

I am trying to write a PHP script to connect to a database I have created in WAMP Server 2.0 but no matter what I do I keep getting the same error message: Parse error: parse error in C:\wamp\www\database.php on line 5 I have looked at this for over an …

Web Development mysql php
Member Avatar for HG&C
0
155
Member Avatar for Avasulthiris

Hi, I'm trying to expand an existing php-based project. I need to be able to allow users to create basic flow diagrams inside their web browser. Drag and drop environments with movement and resize abilities on a js canvas. Start blocks, information blocks (possible hyperlinks too), Decision Blocks, End Blocks, …

Member Avatar for Avasulthiris
0
189
Member Avatar for tinker

Please help me solve a problem on passing the value form javascript function to the 'hidden' form and the form will be submitted to the php code for processing the data. Here are my codes below: First i have a link which will trigger the function 'passValue()' that holds 3 …

Web Development javascript javascript-jquery php
Member Avatar for McLaren
0
137
Member Avatar for fishcer

i'm new in php, especially php array and i wanna learn more about array, i found this forum sound interesting to solve my problem. i have some array like this : [CODE] Array ( [0] => Array ( [0] => Printer_B //printer [1] => IDDHARMAHE //user ) [1] => Array …

Web Development php printer
Member Avatar for fishcer
0
7K
Member Avatar for wafieali

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\eUTM\login\logincheck.php on line 13 here is the code: <?php //login check require_once("dbconn.php"); $con=connectdb(); $idpengguna=$_POST['idpengguna']; $katalaluan=$_POST['katalaluan']; //login PELAJAR from table pelajar $pekerja_query="SELECT * FROM pengguna where idpengguna = '$idpengguna' AND katalaluan = '$katalaluan'"; $pekerja_result=mysql_query($pekerja_query,$con); $pekerja_row=mysql_fetch_array($pekerja_result); if(!$nama_id && !$katalaluan) { $err=1; …

Web Development mysql php
Member Avatar for wafieali
0
446
Member Avatar for GuruMS

How To Insert Image To A JSP File I have Tried Using The Flowing Code In This any Error Is There Please Give The Answer This Is My Code I Used <img src="SOCIALWEBSITE/Image/login.jpg" width="250" height="250" alt="img">

Web Development image java-jsp
Member Avatar for peter_budo
0
6K
Member Avatar for tape enterprise

I need to know how to sort my authors into their respective categories I have a mysql table with the authors details and another with the categories this is my code to get the info from the tables (i realize I spelled category wrong in my database) [CODE]$sql = 'select …

Web Development mysql php
Member Avatar for jrivera
0
126
Member Avatar for anirban1087

Hi, I am working on a project where I have to deal with hierarchical data. The data looks like Member-1 | --------------- | | member2 member3 |---------------| | member4 member6 ---------------- | | member7 member5 I have searched a lot to find a good solution to store this data, but …

Web Development php
Member Avatar for anirban1087
0
107
Member Avatar for Awah Mohamed

hey people i want to create a vedio chatting i know how to create a php/mysql chatting but i dont know how to create a vedio chatting do i need to learn another lamguage or php is okay. will i need flash?? how can i acccess the webcam from a …

Web Development flash php webcam
Member Avatar for Awah Mohamed
0
109
Member Avatar for mith_cool

hi, am working on a project called online store using java. For the navigation menu bar i used javascript in a jsp page. The problem is am unable to see the image in navigation bar. Since i have no thorough knowledge of javascript please rectify me.Here is my code [CODE] …

Member Avatar for skald89
0
127
Member Avatar for waveydaveywaves

i've successfully developed a page where i can echo a `$_SESSION['SESS_MEMBER_ID']` and display the member id of a person who is logged in. however i need to display all the data of two mysql databases that are relational. $sql = "SELECT * FROM `members`.`players` WHERE `member_id` = 3 LIMIT 0, …

Web Development mysql php session
Member Avatar for waveydaveywaves
0
154
Member Avatar for Joe34

Let's say I have a huge variable called $file $file contains thousands of lines of html, css, javascript and more. But, I want to be able to find all of these link and edit them. I want to only edit the ones that don't have a domain name. Example: I …

Web Development html-css php seo
Member Avatar for Joe34
0
184
Member Avatar for antoniokp

I am totally new to posting here and dealing with Coldfusion. Hello ALL. I have an application built by a past employee over 4 years ago that is just now showing errors on a regular basis. I have tried to explore the files associated with the errors when I catch …

Web Development coldfusion
Member Avatar for arrgh
0
146
Member Avatar for lit108

I have created a login system with some validation which all works fine, however I want to be able to create a session when the user logs in and then store this session information in a table that I have allready created. The table has the following values id ip_address …

Web Development mysql php session
Member Avatar for ice_k99
0
200
Member Avatar for progurammaar

Hi there i need to create a fully functional website. Please suggest me a CMS that will help me do so. I mean joomla and wordpress are goo if you want to make blogs. Secondly, i would like to know how to send mails through php using local server and …

Web Development cms php wordpress
Member Avatar for chrishea
0
134
Member Avatar for hicman

hi every one I'm new and it really interesting what's happening here !! Well I'm a beginner in PHP , the problem is that when i use print_r($message) or echo in the same page where I call header I got this message [QUOTE] Warning: Cannot modify header information - headers …

Web Development php
Member Avatar for hicman
0
308
Member Avatar for mgonzalezwec

How do I specify the default SMTP host within Visual Studio 2005 or within a web project in Visual Studio 2005? I realize this can be done in the web.config file, however I don't want to do it at that level (I would rather it be done at the machine …

Web Development asp.net visual-studio
Member Avatar for mgonzalezwec
0
207
Member Avatar for ello

hey guys could anyone quickly show me how I'd go about combining these: [code] $(document).ready(function(){ $("#generate-quote").click(function(e){ e.preventDefault(); $.getJSON("generator.php?", {act: 'char_con', bc: '1'}, function(data){ $(".quote").html(data); }); }); }); [/code] [code] $(document).ready(function(){ $("#env").click(function(e) { e.preventDefault(); $.get("char_con.php?", {act: 'char_con'}, function(data{ $(".q").html(data); }); }); }); [/code] Right now they obviously do different things, but …

Web Development javascript
Member Avatar for ello
0
120
Member Avatar for McLaren

Hi, I have a button: [CODE]<input class = "save" type="button" value="IÅ¡saugoti" />[/CODE] As you can see the type is not submit, it is just button. This is because I want to not allow submission if javascript is disabled. To submit I run this code: [CODE] $('input.save').click(function() { $('form').attr( 'target', '' …

Web Development javascript javascript-jquery
Member Avatar for McLaren
0
114
Member Avatar for heshanm

Hi all, I want to validate username and password in the [B]same page where login form exists[/B]. I have this coding and if username and password not matches it redirects to "try_again.php" page. Instead of that i want to show the validation ( "Invalid username or password") in the same …

Web Development php
Member Avatar for heshanm
0
4K
Member Avatar for dskumar_85

i have a hyperlink called companyname in gridview .when i click it has to open popup window and provides details of that company.can someone explain how to call popup window in hyperlink

Web Development asp.net perl
Member Avatar for imamul.karim
0
2K
Member Avatar for opticblaze

Hello, I have an If statement that i want to use to determine whether the variableis a integer or not. The example below does not work but illustrates what i would like to be able to do: [CODE]If($x/4==[COLOR="Red"]interger[/COLOR]) {echo ("this is a integer");} else {echo ("This is not a integer");} …

Web Development php
Member Avatar for opticblaze
0
114
Member Avatar for jijo cleetus

Hi, i need to convert date format 1/16/2010 10:10:2011 AM to [COLOR="Red"]16/1/[/COLOR]2010 10:10:2011 AM after that i need to put values to database too as datetime datatype. error I am getting : "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. …

Web Development asp.net
Member Avatar for jijo cleetus
0
155
Member Avatar for Jinspire

Hello, everyone! I have a the following regular expression validator: [CODE]<asp:RegularExpressionValidator ID="revTime" runat="server" ControlToValidate="txtTime" ErrorMessage="Time interval must be between 00:00 and 23:59" ValidationExpression="(^0{0,1}\d:[0-5]\d{0,1}$)|(^[0,1]\d:[0-5]\d(0,1)$)|(^2[0-3]:[0-5]\d(0,1)$)" Display="Dynamic" />[/CODE] The validator WORKS. The regular expression works too. Problem is, the message does not display. I've tried the following: * Changing the Display attribute to …

Web Development asp.net display regex
Member Avatar for Jinspire
0
105
Member Avatar for rumahsolusi

can anybody help me to make , for example : i check crawl spider my webpage part one through the check metatag website but the results after checked from webpage part two

Web Development php
Member Avatar for rumahsolusi
0
64
Member Avatar for jeraldmuthu

Hi, I'm new bee to JSP.I'm newly joined in company they want to finish this today please help me. I need to check form field contains existing data(want to check database) are not. if that field contain existing data it wants give alert.., In database i set projectcode as Unique.if …

Web Development java-jsp javascript oracle
Member Avatar for masijade
0
192
Member Avatar for bbinais

Is it possible to create grid view in php?Or any thing equivalent to that?What i actually want is to query the database(mySQL) and print the result in a table form on the web page. and when i click any column i want to redirect to another page Any help would …

Web Development php
Member Avatar for Shanti C
0
94
Member Avatar for jahanruhi3@gmai

can any one tell me the procedure how to search a file from the database using jsp

Web Development java-jsp
Member Avatar for peter_budo
0
177
Member Avatar for NewOrder

hi, i have a problem with my code. i am trying to shift pictures as the mouse hovers over the link..but nothing happens! [CODE] <div id="FAQ"> <ul> <b> FAQ <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_14.gif ' ">What does the Bronze membership include?</a> </li> <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">What does the Silver membership include?</a> </li> …

Web Development javascript
Member Avatar for NewOrder
0
90
Member Avatar for lisaroy1

What is AJAX?i have heared about it but i dont have any knowledge about it?does it have a good scop?

Web Development javascript
Member Avatar for Shanti C
0
82
Member Avatar for coervivekmca

how to upload image and create online blog panel?

Web Development image java-jsp
Member Avatar for jahanruhi3@gmai
0
104
Member Avatar for Tbusuk

Hi, what is the meaning of the code shown below? <jsp:include page="/exec/employeesList"/> Because usually include is like this include("a.php"), this means the page include the a.php page. But the jsp include is different, it doesn't show any extension like .jsp or .jav or .html. so where does it include? is …

Web Development java-jsp
Member Avatar for coervivekmca
0
160
Member Avatar for ypks_destiny

In a html if i press india i should get its states, and if i press australia i should get its states -It should be in drop down list only can some one please help me out

Web Development java-jsp
Member Avatar for ypks_destiny
0
2K
Member Avatar for nyler01

Please help.. i need a script for this problem. i have 2 different departments, one is accounting and the other is payment. it should be the accounting page will create a transaction and when the transaction has been done, the webpage of the payment department will automatically show that there …

Web Development javascript mysql php
Member Avatar for rje7
0
120
Member Avatar for lisaroy1

I am a HTML and Java Programmer and now i want to learn PHP so can you help me with the Basic Knowledge of PHP,I have heared it is quite siimilar to HTML is it True.So can anyone tell me some good books and site from which i will get …

Web Development php
Member Avatar for Shanti C
0
110
Member Avatar for Sai Isha

hello everyone, i have a gridview which i have already populated and i got a foreign key Faculty_ID, which i display on the gridview , Now i want to display the Faculty_Name for that Faculty_ID. Can anyone help me out to do this part???? MY CODES BELOW WORKS FINE.. jst …

Web Development asp.net dataset
Member Avatar for Sai Isha
0
433
Member Avatar for smchauhan

Hi, I m developing a web application for video streming, but my client requires that as the user loging or singin in the site the web cam must be start automatically, and if the hardware is not found than a prompt must be displayed that "Your system doesn't support webcam …

Web Development php video webcam
Member Avatar for vicfen2k9
0
116
Member Avatar for owaka

I want to develop a website for a bus online booking system using dream weaver.pls help me guys

Web Development php
Member Avatar for ecmcircle
0
119
Member Avatar for andrewliu

Hello if my page outputs a certain item number from my database, how do i put that item number into my javascript? [CODE] '<div class="update".$item_id.">'; [/CODE] say i have $item_id and it various how do i put it into javascript code? would it be the same thing? I can just …

Web Development javascript php
Member Avatar for andrewliu
0
159
Member Avatar for aitha

Hai i'm new to the ajax please help me to resolve this my problem. Following is the ajax code i'm using. If the ready state is 4 i'm assinging 1 to 'y'. after that if i'm going to print y it's showing undefined. what is the wrong with my code. …

Web Development javascript
Member Avatar for aitha
0
158
Member Avatar for cristi08
Member Avatar for prem2
0
123
Member Avatar for debayanmitra

I'm stuck in a problem.. I want to use two combo let Country and City, where City list depends on the Country combo, How can I don do it with HTML and PHP only? Thanks.

Web Development php
Member Avatar for Shanti C
0
119
Member Avatar for airick10

I have two separate pages. One page I'm using some UPDATE queries and the second page uses an INSERT query. Neither are updating my database. I can read the database from php, but not update it. Is my syntax correct? I know I can make it more efficiant, but I …

Web Development php sql
Member Avatar for chrishea
0
139
Member Avatar for ON_Jtharpe

Hi Guys I am new to PHP and slowly learning. I have a piece of code that I need some help with. I am trying to take user input and use it to query data from a table in MYSQL. I know all my connections are working because I can …

Web Development mysql php
Member Avatar for lyrico
0
247
Member Avatar for misterx100

Hi, I'm desperately looking for a free Wordpress plugin, which could easily "lightbox" HTML code. Best, MisterX

Web Development wordpress
Member Avatar for The5sisters
0
83
Member Avatar for Joe34

My code is suppose to crawl web pages, index the links, then crawl those web pages and on and on again! But it won't work? I get no errors what is wrong? I think it gets into the foreach but doesn't make it to the $DCheck if statement! [CODE]<?php if(empty($_SESSION['page'])) …

Web Development php seo
Member Avatar for lordspace
0
248
Member Avatar for brown23

Hey Guys, Struggling a bit here trying to get my head around something. I'm not a PHP expert, but I feel I've come a long way in the 6 months or so I've been learning it. Anyway, I thought I would pluck up the courage to build my own custom …

Web Development cms mysql php
Member Avatar for lordspace
0
145
Member Avatar for ello

Could anyone just help me out with this. I'm trying to get my AJAX to simply echo what's in my php file when a click a link: AJAX: [code] $(document).ready(function(){ $("#gentest").click(function(e){ e.preventDefault(); $.getJSON("char_con.php?", {act: 'char_con'}, function(data){ $(".x").html(data); }); }); }); <div class="box"> <a href="#" id="gentest">Generate Quote</a> <div class="x">TEST</div> </div> [/code] …

Web Development javascript
Member Avatar for ello
0
107

The End.