52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xodus1

Hi Guys, I'm new to PHP and need help with passing variables from my form to multiple pages. I have global registers turned to off. I am able to retrieve my form inputs on the second page.. however unable to retrieve the same on the other pages after. for example …

Web Development php
Member Avatar for xodus1
0
1K
Member Avatar for Coward
Member Avatar for Coward
0
174
Member Avatar for emilio

hi my page contains a button with a javascript click event. when i click the button i want to check if the page is valid, and if the answer is yes, to perform the event function. if the page is not valid i want the error message to show in …

Web Development javascript
Member Avatar for emilio
0
73
Member Avatar for arunmozhi

Error: The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server …

Web Development asp.net client-server
Member Avatar for arunmozhi
0
323
Member Avatar for OmniX

Is it possible to retrieve the number that the error line of code is on? Closest I have come to is mysql_error() but that does not tell me the correct number the line of code is on just like line 1 and it isnt? Line of Code: In your text …

Web Development php
Member Avatar for ahmksssv
0
117
Member Avatar for quill2

I keep getting the following error: [b]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/b] on line 17. I'm trying to figure out if there's some problem with my SQL query statement, or what. When I try to print $result, nothing is displayed. I've included my code below. …

Web Development mysql php
Member Avatar for ahmksssv
0
119
Member Avatar for starsinthesky

i dont know if this is the right forum where i can post this question that i have. im making an organizer and i want to make a pop-up window that would remind the user of an upcoming event he has 10/5 days from that time he opens the organizer. …

Web Development php user-interface
Member Avatar for diafol
0
69
Member Avatar for prawin@123

Hai can any tel me , How i can get username from database where i logged in using userid . here is the code below. [code=php]if(isset($_SESSION['u_name'])){ include 'dbcon.php'; $qry = "SELECT * FROM tbl_user where user_id='".$_SESSION['u_name']."'"; $result = mysql_query($qry,$con); if($result) { $row=mysql_fetch_array($result); } while($row=mysql_fetch_array($result)) { echo ' Welcome ' .$row['user_name']; …

Web Development php
Member Avatar for ahmksssv
0
91
Member Avatar for dmkp

Hi, wasn't sure where to put this. However since I used PHP in my download script, felt it was appropriate to ask here. Anyway my problem is pretty easy to describe, any downloaded zips off my website are corrupted (however are fine before being uploaded). Is there a way to …

Web Development php
Member Avatar for cwarn23
0
215
Member Avatar for valsaraj

What is the best method to share session across multiple domains on same machime. ie, domain name different like abc.com, xyz.com but single application.

Web Development php session
Member Avatar for cwarn23
0
3K
Member Avatar for valsaraj

Which is the best method to get response from a web service URL? for example, we can use cURL, file_get_contents, file, .. to get response. Can anybody help me to find a best one?

Web Development php
Member Avatar for mschroeder
0
100
Member Avatar for millsy007

I have recently changed my page so my date that is held in a textbox is in the European Format, ie DD/MM/YYYY The problem is all of my other javascript functions expect it in the 'normal' format. Is there a way I can change the format I now have it …

Web Development javascript
Member Avatar for essential
0
106
Member Avatar for gagan22

Hello everyone, I have changed hosting my website. But at the time of connectivity to database , i have changed mysql_connect( ) parameters. still i am facing some problem in opening website. what can be problem . please suggest me. thanks, gagan

Web Development php
Member Avatar for mschroeder
0
95
Member Avatar for GeoffC

I am using the following to set up a textarea for the input of the body of an email. [code] <td valign="top"><textarea name="zbody" id = "zbody" class="stylefont_textarea" tabindex = "3" onfocus="gotostart()" cols="40" rows="10"><?php echo $sig?></textarea></td> [/code] the php inserts a "signature" into the textarea. When I tab to it, the …

Web Development javascript
Member Avatar for GeoffC
0
85
Member Avatar for Eager_Beever

I am creating a website using ASP.net with C# 2005 as the language. In my ASP.net page, I have displayed a GridView. I have dynamically populated the GridView during runtime using Dataset and SQLDataAdapter. Since the GridView displays ALL columns at a fixed width, it does not look pretty to …

Web Development asp asp.net c# dataset
Member Avatar for serkan sendur
0
883
Member Avatar for Andrieux

I have three tables: posts, topics, and forums. Each row in post table has a topic id and a author name. Each row in topics has an id that corresponds with the topic_id in posts, and then it has an id for the forum that it (the topic, containing the …

Web Development mysql php
Member Avatar for Andrieux
0
169
Member Avatar for onaclov2000

I have a home server with DynDNS setup, when I go to my dyndns page it loads my webpage specified, what I'd like to do is click a button on my webpage and the [B]server[/B] runs a specified program possibly with parameters i.e. someprog.exe, I don't want the Local computer …

Web Development php
Member Avatar for onaclov2000
0
117
Member Avatar for swearword

Hello everyone, I am not sure what I am wanting to do is possible, but thought I would ask here to find out. I want to use a PHP redirect script to load balance my website as it is starting to get hammered so I want to redirect say 1 …

Web Development php
Member Avatar for justinmichaels
0
1K
Member Avatar for serkan sendur

is there anyway of distinguishing between whether the button is clicked directly by a mouse or its click event has been triggered logically? [code]<input type="button" id="someID" value="dene" onclick="alert('something');" /> <input type="button" value="dene2" id ="someID2" onclick="document.getElementById('someID').click()" />[/code] now guys i want some kind of thing : when you directly click on …

Web Development javascript
Member Avatar for serkan sendur
0
123
Member Avatar for emilio

hi I'm trying to execute a stored procedure which returns a datatable my code is: [CODE=asp.net]try { string conStr = WebConfigurationManager.ConnectionStrings[0].ConnectionString; SqlDataAdapter adapter; DataTable ans = new DataTable(); SqlConnection connection = new SqlConnection(conStr); SqlCommand command = new SqlCommand(); command.CommandType = CommandType.StoredProcedure; command.CommandText = "usp_GetUserDetails"; command.Parameters.Add("@UserName", SqlDbType.VarChar); command.Parameters.Add("@Password", SqlDbType.VarChar); command.Parameters["@UserName"].Value = …

Web Development asp.net visual-studio
Member Avatar for emilio
0
239
Member Avatar for aashishn86

hii !!! I have to upload a excel sheet into my asp page... how do i go about it ? the format of the sheet would be fixed.. i.e it will always have the same columns but the rows can differ. please give a example..

Web Development asp
Member Avatar for peter_budo
0
53
Member Avatar for kevin wood

i am trying to write a script that will send out an email to all the email addresses stored in a mysql db when the site has been updated. the code i have so far is as follows [CODE]$sql= "INSERT INTO $table (date, title, article) VALUES ('$a', '$b', '$c')"; if …

Web Development email mysql php
Member Avatar for kevin wood
0
188
Member Avatar for OmniX

Before you use input, it is a good idea to validate it for mailicous content before use. So you would make a function validation, which would then contain what validations checks? - mysql_real_escape_string - addslashes / stripslashes - get_magic_quotes_gpc - html_entities - etc Anything else you think I should or …

Web Development php
Member Avatar for OmniX
0
114
Member Avatar for gagan22

Hi everyone, I am facing one problem. In one php page which is showing a table or record of an employee and i want to show that table in excel sheet with using download button which table is coming in php file. So how i can do this using php …

Web Development php
Member Avatar for gagan22
0
2K
Member Avatar for Tess James

How to clear all the items in the drop down list? [code] DropDownList1.Items.RemoveAt(j); DropDownList1.Items.Clear();[/code] These are not working for me. (am using VC#.net) any help would be appreciated thanks..

Web Development asp.net
0
63
Member Avatar for serkan sendur

if you add a directive like below, you can access the usercontrol class' public members and the class it self by typing its name, otherwise the compiler generates an error indicating that referenced member is not found. [CODE]<% @ Reference Control ="~/WebUserControl.ascx" %>[/CODE]

Web Development asp.net
Member Avatar for sknake
0
113
Member Avatar for cVz

Hi There I get the following error when clicking on btn This code works perfectly on some machines but does not work on others [code=C#] protected void btnSave_Click(object sender, EventArgs e) { if (btnSave.Text.ToUpper() == "CREATE") this.InsertInvoice(); else if (btnSave.Text.ToUpper() == "SAVE CHANGES") this.UpdateInvoice(); } private void InsertInvoice() { String …

Web Development asp.net dataset visual-studio
Member Avatar for sknake
0
167
Member Avatar for OmniX

Yes everyone will point to using ahref<a href="index.php?variable=1>. But im just wondering if I can do the same thing using headers header("Location: index.php?variable=1"). Note: Yes I can also use sessions but wish to user headers. Thanks, Regards X

Web Development php
Member Avatar for nav33n
0
107
Member Avatar for dpd

Hi all, I'm not overly proficient at Javascript, but have fumbled my way through some tutorials to come up with the following code to create a tab mechanism. It works perfectly in Firefox, Safari, Chrome and IE8. However, in IE6 and IE7 it fails to operate as of the 'for …

Web Development javascript json
Member Avatar for serkan sendur
0
112
Member Avatar for BimanD

I am a new JavaScript user. My teacher told me to display my name using javaScript i solvd it using (document.write) command. and then saving it in(.HTML) format.Now my teacher told me to do the above problm using an external .js file. Plz someone help me to solv this problem. …

Web Development javascript
Member Avatar for serkan sendur
0
78
Member Avatar for molistok

I have a user model and friendship model. Now I want make that when one user have accepted a new friend, the others friends of this user could see this last activity of her friend. How is the best form to do it? Thanks.

Web Development php
Member Avatar for molistok
0
324
Member Avatar for serkan sendur

hi guys, i have a javascript application which compares two xml files, to show that comparison i load two files on two iframes and when user click on node(i rendered the nodes to span elements) i run a comparison function, the problem is i want to disable onclick event of …

Web Development javascript xml
Member Avatar for serkan sendur
0
322
Member Avatar for Lensva

I have 2 websites: website A which is blank and is categorized; website B which doesn't have categories but has information; I want php to go to website B, get all the new information that has been added since last visit, and then update websites A database; now i know …

Web Development php
Member Avatar for Lensva
0
92
Member Avatar for ahmksssv

Hi frnds... I need to integrate php variable with vedio scripting file..... i fetch my vedio file path from database...here i need to replace the file=[B]videos/movieimgae.swf[/B] ....with $vedio.. [CODE] <?php $vedio="vedios/aaa.php"; ?> <SCRIPT type=text/javascript> var s1 = new SWFObject('player.swf','player','400','300','9'); s1.addParam('allowfullscreen','true'); s1.addParam('allowscriptaccess','always'); s1.addParam('flashvars','file=[B]videos/movieimgae.swf[/B]'); s1.write('preview'); </SCRIPT>[/CODE]

Web Development php
Member Avatar for ShawnCplus
0
305
Member Avatar for veledrom

Hi, Data is stored like this in Varchar(2500) (with paragraphs): [code] Looking for NET developer, programmer. Required skills: VB.NET NET MsSQL XHTML If you are interested, please call "000" number's test. Thanks [/code] When i echo it, it is displayed like this: [code] Looking for NET developer, programmer. Required skills: …

Web Development mssql mysql php vb.net
Member Avatar for veledrom
0
79
Member Avatar for ioan1k

This is something I have avoided for the longest time......and now I need a bit of help ??? What I am trying to do is simply build a recursive array based on parent->child, the recursion comes when their is the possibility to add any number of sub-children to sub-children so …

Web Development php
Member Avatar for ioan1k
0
99
Member Avatar for njabs

Hi good people! Please help me out, i have an intranet running in my PC that means my PC is a local server. when user try to access the intranet it give them this error:- "HTTP Status 500 - type Exception report message description The server encountered an internal error …

Web Development apache java-jsp
Member Avatar for stephen84s
0
135
Member Avatar for vedmack

Hi I built a html page with a single button which suppose to open new window which shows XML file... I want to disable right click mouse in the "new window" which is being opened after button hit... I do know how to disable the right click inside an ordinary …

Web Development javascript xml
Member Avatar for HTMLExpert
0
806
Member Avatar for kevin wood

i have this line of code which i cannot see a problem with but i keep getting an error. [CODE]$sql= "INSERT INTO emails (Firstname, Lastname, email, table) VALUES ('$a', '$b', '$c', '$table')";[/CODE] the error i keep getting is [CODE]Error: You have an error in your SQL syntax near 'table) VALUES …

Web Development php
Member Avatar for nav33n
0
106
Member Avatar for deesudesu

I know this might sound silly....please forgive on this one I am not a programmer, but simply a graphic designer, but our programmer left us,and since that, my boss (which also my father) askin me to help about this matter. This company is still looking for the replacement, but we …

Web Development mysql php
Member Avatar for Shanti C
0
109
Member Avatar for dwlamb_001

I have written an application to do the following [list] [*]upload a txt file to the server [*]move it from the temporary directory to a more permanent one [*]parse the test file line by line and do some processes [*]create and write the result to a new text file [/list] …

Web Development file-stream file-system php
Member Avatar for dwlamb_001
0
108
Member Avatar for ranjinibiliya

I need a code to open a exe file in asp. please help me as soon as posssible.

Web Development asp asp.net
Member Avatar for serkan sendur
0
174
Member Avatar for Aamit

I am calling some data from iframe. [code=php]<iframe id="pframe" width="'.$game['iframewidth'].'" height="'.($game['iframeheight'] + 20).'" src="'.$path.'" frameborder="0" scrolling="no" align="middle"></iframe>';[/code] i want to call my css for this frame ? How to call css for iframe??

Web Development html-css php
Member Avatar for almostbob
0
336
Member Avatar for arunmozhi

in asp.net how to show the girdview with header, when the datasource=null, i have used gridview.EmptyDataText="Some Text" but i need to show the grid with the header any one plz help me..

Web Development asp.net
Member Avatar for serkan sendur
0
170
Member Avatar for rebsysue

Hi. I am just learning javascript and am making a website for my friend's photography. I've got a working slide show now where you can click next or previous to display image after image in sequence. I followed this tutorial: [url]http://www.webmonkey.com/tutorial/Make_a_JavaScript_Slideshow[/url] Now I would like to also display a caption …

Web Development javascript
Member Avatar for cubekid
0
79
Member Avatar for naekur

Hi there! I'm having a very odd problem with mysql_fetch_array my code looks like this: [code] function getMachines($domain){ if (! is_resource ( $this->connection )) { return false; } else { if (get_magic_quotes_gpc ()) { $domain = stripslashes ( $domain ); } $query = sprintf ( "select machines from `domains`.`%s`", $this->escape …

Web Development mysql php
Member Avatar for nav33n
0
165
Member Avatar for emiola

Despite the fact that my script runs perfectly well on the server, it fails to submit form data into mysql database. Kindly look into this for me. see code below: [code=php]<?php> $dbcnx = mysql_connect("localhost","user_name","password"); if (!$dbcnx){ exit('<p>Unable to connect to the database</p>'); } If (isset($_POST['submit'])) { $SchoolName = $_POST['SchoolName']; $SchoolEmail …

Web Development data-structure mysql php
Member Avatar for nav33n
0
243
Member Avatar for veledrom

Hi, I use PHP Swift mailer to send around 2000 emails in one go. I just wonder if there is a chance to find out: Who have received? Who have not received? Any idea? Thanks

Web Development php
Member Avatar for veledrom
0
1K
Member Avatar for dlacloche

This is boggling my mind right now. Here's what a client wants: On the index page, there is an iframe with links inside it. When you click on a link, it opens the page (not in the iframe, but in the top level) and sends a url string variable. This …

Web Development asp
Member Avatar for dlacloche
0
137
Member Avatar for veledrom

Hi, I use login screen in my php page withoutp HTTPS. HTTP only. I use SHA1 for password encription. What do you suggest me to do for best security practise when i check username and password from database for login process? Thanks

Web Development php
Member Avatar for mschroeder
0
88

The End.