52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bgharper

I'd like to suppress MySQL errors being printed in the header, so that errors can be passed back into the PHP page... My current code is as follows: [PHP]if ( ! mysql_connect($server, $database_username, $database_password) ) { $error = "There was error when attempting to connect to the specified database server: …

Web Development mysql php
Member Avatar for bgharper
0
150
Member Avatar for michael123

I have a textbox where user can enter the date in format of MM/DD/YY, now I want to set a rule only accept the date within one month from current date, how can I do that, anyone help will be appreciated.

Web Development php
Member Avatar for michael123
0
139
Member Avatar for zeshon

Ok, I am fairly new to php, so please bear with me if I have done something stupid. I am trying to write a CMS, right now I am writing a piece of code to get the article title from the database. I used [code]<? include('dbconnect.php'); //Get the article title …

Web Development cms php
Member Avatar for RamiroS
0
184
Member Avatar for Mike D

Howdy folks! I'm having a bit of a dilema with a small piece of my coding. I'm working with a database that stores tour/gig dates for a band. The table has fields that include year, month, day, date, venue_name, name_ext, address, and a couple others. The field "venue_name" is the …

Web Development display php
Member Avatar for Mike D
0
94
Member Avatar for adi75

Hi there, I'm using asp.net (c#) framework version 1.1 and trying to connect to my Oracle database 10G (10.1.0.2.0) which installed on the same server as the IIS and I'm getting the following error: OleDbException (0x80004005): error while trying to retrieve text for error ora 01019 I can connect through …

Member Avatar for Paladine
0
3K
Member Avatar for ashneet

What i am trying to do is to make a like that sends some info to next page so that PHP could use query for the deta sent. OK here is how the hyper link looks like and i want it to send some variable to next page: [HTML]<a href="index.php" …

Web Development html-css php
Member Avatar for Killer_Typo
0
203
Member Avatar for ashneet

what i am tring to do it to show a catalog with php and stop php from displaying any data to the cusomer if table does not have any information it. for example i want to use if state ment to stop and skip if data in the database table …

Web Development display php
Member Avatar for Troy
0
129
Member Avatar for server_crash

I was wondering if someone could point me to some good online tutorials and exercises. I most importantly would like a site with some exercises to help me learn further. I have a book called "JavaScript in 24 hours" and I have to admit, this book is terrible. It teaches …

Web Development javascript
Member Avatar for shahdhruv
0
349
Member Avatar for Wendydb22

Here is my [b]Stored Procedure [/b] stored in SQl DB. [code] CREATE PROCEDURE qparmVerifyLogin @First_Name varchar(30), @Last_Name varchar(30), @SSN varchar(9) AS Select First_Name, Last_Name, SSN, ADDRESS1, CITY, STATE, POSTAL, DEPTID, EMPLID FROM PERSONAL_DATA_TBL WHERE First_Name = @First_Name AND Last_Name = @Last_Name AND SSN = @SSN; GO [/code] [b]Below is the …

Member Avatar for Letscode
0
156
Member Avatar for JaxsWastedLife

want to load some external content into a hidden iframe. The hidden iframe will function as a buffer from which i can load the content into a <div>. The reason i am attempting this approach is because the external pages are located on a different domain at my company and …

Web Development asp javascript microsoft
Member Avatar for Eddie Traversa
0
166
Member Avatar for uskumar_33

Dear All, How do i send SMS Message from my asp.net (vb.net or c#) application. can u guide me help, please........... Thanks, Suresh U.

Web Development asp asp.net vb.net
Member Avatar for naveenchander
0
211
Member Avatar for nishanth

allright here is my question!!! if i have a login page with user name and password and i have a situation where in two users are logging in with the same id with a little time gap though (assuming that the other user is still logged in) how will u …

Web Development java-jsp
Member Avatar for techy
0
116
Member Avatar for aparnesh

Hi When I am trying to connect to mySQL from PHP, I am getting the error "Client does not support authentication protocol requested by server; consider upgrading mySQL client" . I am using PHP 4, mySQL 4.1 and Win XP Pro. The error is occuring both for Apache & IIS. …

Member Avatar for aparnesh
0
131
Member Avatar for mcricks

Does anyone know if it is possible to place a .swf within a dhtml dropdown. For instance, On click drop down and externally load an swf within the dropdown. Any feedback would be great. Thanks

Web Development flash html-css javascript
Member Avatar for Eddie Traversa
0
190
Member Avatar for senexom

Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart …

Web Development algorithm image php
Member Avatar for senexom
0
90
Member Avatar for michael123

Hi, I'm new to php, I want to know what's the better time to use POST instead of GET(or GET instead of POST)? what's the advantage to use one rather than other. Thanks.

Web Development first-post php
Member Avatar for Electrohead
0
181
Member Avatar for senexom

Hi, Perhaps this thread does not bellong in the PHP forum, but since I'm working with PHP/Apache I'll try here first. I have setup subdomains on my site and realized that links are not relative to the wwwroot, but relative to subdomain root, I was wondering if anyone knows of …

Web Development apache php
Member Avatar for senexom
0
143
Member Avatar for Sean_F

Hey, im trying to make a PHP Login box for a program that i am making for my A Level project however, im new with PHP so dont really know much about the code :( lol. this is what i have so far <html> <body> <?php $username = "Admin"; $password …

Web Development email first-post php
Member Avatar for Sean_F
0
91
Member Avatar for jman25

I am using javascript to display a dropdown menu on an html page. This menu lists 48 states and is used to calculate shipping costs to each state. I have an onChange() event in the <select> tag that sends the selected state to another function to figure up the shipping …

Web Development display javascript
Member Avatar for shahdhruv
0
440
Member Avatar for chrisxkelley

I found this book extremely useful in learning and using php, mysql and apache together. it's great

Web Development apache mysql php
Member Avatar for hollystyles
0
175
Member Avatar for Soni_7

Hi , I have a function as : function doCheck(str1,str2) { top.LocalCacheLoadStatus = false; parent.SearchFrame.location.href=str1; g_str_Mode = str2; alert (g_str_Mode); } This has str1 as the name of the jsp file and str2 is the value which i have to pass to the jsp file given in str1.How do i …

Web Development javascript
Member Avatar for Soni_7
0
116
Member Avatar for server_crash

I've created an html form that allows the user to login, or register. Here is what I've thought about(just for the registration page, not login): HTML FORM --> servlet ---> servlet calls java class that verifys the data, and shoves it into the database... ----> Makes a few tests --- …

Web Development java-jsp
Member Avatar for server_crash
0
111
Member Avatar for d0d0

hey guys i have a problem :S I'm making a site and now im trying to fix the menu, its a rollover menu and it should drop down...it works perfectly now probs there. but the problem now is that i want the menu in a frame. But then the dropdown …

Web Development javascript
Member Avatar for Demondes
0
151
Member Avatar for keibi

Hi, This is one of those dumb newbie questions, I'm afraid. I'm trying to learn Servlets/JSP by making a small application that allows you to register yourself as a user. I'm using the latest tomcat version for this, and I'm using a linux environment. For some reason, when I try …

Web Development java-jsp
Member Avatar for keibi
0
111
Member Avatar for ashneet

Hi all First thing is that i am new to php and i could get stuck on one semicolen. OK here is the code that i have problem with and the problem is that results given to both the query are same for some reason and i cant figure it …

Web Development first-post mysql php
Member Avatar for ashneet
0
127
Member Avatar for Koldar

Hi there, I was trying to get a script working that will fire me an email when my database cannot be connected to. This is what I have and I'm wondering if it looks right to you php experts. :) $conn = mysql_connect ($server,$user,$pass) or die(mail("$SendToEmail", "$yoursubject", $emailtext . mysql_error(), …

Web Development email mysql php
Member Avatar for Gary King
0
176
Member Avatar for ozeona

hi im a newbie in asp.net(learn 2 days ago) n still havent fully grasp the concept of asp.net yet. I ran into some problems here but i dunno what is it. i've tried looking at the other post but could not really find the error in mine .Can you please …

Web Development asp asp.net first-post sql
Member Avatar for Paladine
0
160
Member Avatar for namit

I am just looking to tidy the output form echo '<body bgcolor="#FFFFFF" text="#000000"></body>'; echo("Ping Output:<br>"); echo "<pre>"; $i = "11"; //check target IP or domain system("ping -n 1 192.168.2.$i"); echo "</pre>"; I am just looking for somthing like this Reply from 192.168.2.11: bytes=32 time<10ms TTL=128 With nothing else.

Web Development php
Member Avatar for techniner
0
149
Member Avatar for mark_terri

hey I am trying to understand java server faces ... if anyone of you has any sample (may be for the beginners... anything?) application ... can you plz mail to [email]cyber_corleone@hotmail.com[/email] plz also tell mewht I need to do in order to execute the application ...

Web Development email java java-jsp
Member Avatar for bpk
0
145
Member Avatar for bgharper

Hi all. I am having a problem I've not encountered before. When using mysql_fetch_assoc() in while(), I am getting the following error: [INDENT][B]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in archives.php on line 81[/B][/INDENT] However, when taking it out of the while(), it works fine. The …

Web Development mysql php
Member Avatar for Troy
0
191
Member Avatar for DJ1UK

Hi All, I'm stuck!! I've got a page with 3 dropdowns on it and a submit button to pass the data to a table in a database. The code is as follows: [CODE] Sub Page_Load(sender as Object, e as eventargs) dim objConn as new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=C:\blah\blah\blah.mdb) objConn.Open() …

Web Development asp asp.net microsoft open-source
Member Avatar for gaumehta78
0
167
Member Avatar for saiteja

hi.. I reached to the end of my project..but still struggling with date time issue in JSP... I am using mysql as database... simply to say my question is, how to insert and retrive datetime from database to my JSP page...can anyone put the code for that..i will be the …

Web Development java-jsp
Member Avatar for cheenu78
0
137
Member Avatar for jime0726

hey guys, i don't program at all , i just run and maintain the servers,so i really don't know much about php but my manager is trying to create web based bill menu for our company using php. he wants to be able to create a user, without being logged …

Web Development php sql web-server
Member Avatar for jime0726
0
219
Member Avatar for chiwawa10

Hello, I'm facing a with a real-time app. This real-time app is reading data from the serial port, then, process it. However, it seems to miss some data when the computer has some other apps running. More data are lost when other app do heavier processing. When i try to …

Web Development asp.net
0
103
Member Avatar for Dani

I'm having a hard time trying to syndicate my blogs. I want to create an RSS feed via PHP. So far, I have it running through all of the entries and spitting out <title> <link> <description> <time>. My problem is with the header. How do you declare those first few …

Web Development xml
Member Avatar for numerouno
0
312
Member Avatar for ashneet

Hi, I am new to PHP and still am learning so i was just wondering that how would i send email through PHP because i was making a program that askes the use for email and send it to me so i can respong to them

Web Development email php
Member Avatar for sarahk
0
180
Member Avatar for stangfl

I am fairly new to PHP and MYSQL and was having a few problems getting a database search script to work. The data is input through an HTML form with an input field and drop down box to narrow results. This code will work for searching one table but as …

Web Development php
Member Avatar for Troy
0
138
Member Avatar for Partydude4

Can anyone tell me how or what's the code for the following: 1. I have two frames on my web page. (Top and Bottom) 2. Top Frame is data 3. Bottom Frame are some Controls. (Print button, Back Button, Close Button.) 4. I [B]do not[/B] want to use Java. 5. …

Web Development asp.net sql vb.net
Member Avatar for Partydude4
0
409
Member Avatar for namit

I have the following code How do i first edit this to take errors and also to be able to attach files. [PHP] <?php //Gets these from page before $mail_ref = $_GET['mail_ref']; $mail_title = $_GET['mail_title']; $mail_location = $_GET['mail_location']; ?> <title>RFC Job Application</title> <link rel='stylesheet' href='../../rfcStyle.css' type='text/css'> </head> <body bgcolor='#ffffff' leftMargin='0' …

Member Avatar for techniner
0
213
Member Avatar for nchandra

[url]http://wsprod.colostate.edu/cwis116/hscouns%5Forder/?clear=yes[/url] This server has MX6.1 and session variable apppack is undefined. The same code works on CF 5 server as in [url]http://admissionsinfo.colostate.edu/hscouns_order/?clear=yes[/url] I have in the application.cfm file <cfapplication name="Highschool Counselor Order" sessionmanagement="Yes" setclientcookies="Yes" sessiontimeout=#createtimespan(0,0,20,0)#> And in contact.cfm have :- <cfif form.submit EQ "Continue"><!--- Only get form vars from last …

Web Development coldfusion session
Member Avatar for bkendall
0
294
Member Avatar for harlequin2k5

I'm currently designing a website in coldfusion and after visiting a few other sites and adding them to my favorites, I noticed that they added an icon next to the page description. I've tried to find this code in several different sites that have this and I can't find it. …

Web Development coldfusion
Member Avatar for bkendall
0
765
Member Avatar for bennetjosem

i got a page index.php. i got a link over there to download.php. in download.php i'll do some mysql things. (like count file download...) and redirect the browser to some file 123.zip. Wot i really want is. I dont want to go to download.php instead the browser should remain in …

Web Development file-system php
Member Avatar for bennetjosem
0
235
Member Avatar for Paladine

I am just going to throw this out here and see what responses I get. Is there any tutorials any of our members would like me to post in the .NET Tutorial Section? Login (done) Registration (done) SQL vs Access DB backend (done) I was thinking of possibly a datagrid …

Web Development asp.net first-post sql
Member Avatar for Paladine
0
86
Member Avatar for NilovSerge

Hi, all! I run in PHP процедуру MSSql-procedure: $Stmt= mssql_init( 'ProcName', $Con ); ... $Result= mssql_execute( $Stmt, true ); if ( !$Result ) { echo mssql_get_last_message(); ... The problem is that if this proc generate an error(for ex breaking the unique index), mssql_get_last_message() gives "The statement has been terminated." but …

Web Development mssql php
Member Avatar for Troy
0
167
Member Avatar for paradox814

I need to load a value from a recently posted page... [php]for ($i=0; $i<10; $i++) { $_SESSION['someVar'][$i] = $_POST['someVar'][$i] $_SESSION['anotherVar'][$i] = $_POST['anotherVar'][$i] $_SESSION['yetAnotherVar'][$i] = $_POST['yetAnotherVar'][$i] }[/php] now the session part works just fine, but the $_POST part just blows up on me! How can I fix this? I want to …

Web Development php session
Member Avatar for Troy
0
191
Member Avatar for tyty

Hi I have attempted to install Apache/PHP on a new WinXP Home machine. I have it running succesfully on a Win98 machine. Apache works fine. PHP doesn't. I get the following Apache log error when trying [url]http://localhost/phpinfo.php[/url] - File does not exist: c:/webroot/php/php.exe/phpinfo.php. phpinfo.php is in c:/webroot. PHP is installed …

Web Development apache php
Member Avatar for Troy
0
158
Member Avatar for Yuki H.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/im2db/image.php on line 14 This is the error I am getting Here is the code: Image.php Am I supposed to add a exit(); after $result = mysql_query ($sql, $conn); line? [PHP]<?php // database connection $conn = mysql_connect("localhost", "user", …

Member Avatar for val542
0
227
Member Avatar for symoore22

http://ww.bestblanks.co.uk/media.php hi im not sure what im doing wrong with this: have a look at the above url: each product name is suppose to open a small window which will go on to display a description of the product: however when you click on title there is an error and …

Web Development display html-css image javascript php
Member Avatar for tgreer
0
193
Member Avatar for bkendall

I am fairly new to cf but felt this wasn't really a "getting started" question. I was thrown into this project with tons of legacy and little doc, so any help would be greatly appreciated. the trouble I am having is getting information from form fields to display in the …

Member Avatar for bkendall
0
121
Member Avatar for Jayakumar R

I have the following code snippet 1) Page1.aspx.cs protected void Page_Load(Object sender, EventArgs e) { if (!Page.IsPostBack) { //other code Session["scdid"] = null; //other code } } //Submit button handler for this page protected void submit_record(object sender, EventArgs e) { //other code string sschd = (string) Session["scdid"]; if (Session["scdid"] != …

Web Development asp asp.net session
Member Avatar for Jayakumar R
0
113

The End.