52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for server_crash

Is there a really simple mod out there for creating subforums? Specifically for 2.0.16

Web Development php
Member Avatar for Sp!ke
0
358
Member Avatar for Juls

Hi, I have a login page that has a form that goes to processing page wich the has the logic that in case login fields are empty or invalid to redirect back to login page with result variable set to "badlogin". I ran it a couple times and it worked …

Web Development php
Member Avatar for Sp!ke
0
1K
Member Avatar for ashneet

I am new at php so this might me a dumb question. Is it possible to use part of an include file another words i make an 1 big include file and only use parts of it as needed and not make many include files. Also is it possible to …

Web Development php
Member Avatar for Class
0
311
Member Avatar for Class

Hi! I have a little problem: :o I downloaded every sort of random image making php scripts, but not one will work! why cis that? Do somebody know a good random image generating php, that can generate in chain images. With chain i mean, for example i have an image …

Web Development display image php
Member Avatar for Class
0
211
Member Avatar for sergiu

Hi all, I am new to Web programming, most of the time have done GUI development in C++/MFC and played a bit with Java/Swing. I have read about DHTML and its ability to enable interactive Web applications. Before delving into DHTML programming I would like to know what are the …

Web Development gui html-css java-swing javascript
Member Avatar for sergiu
0
232
Member Avatar for lawfour

I have no ideal what happen to my databases all of a sudden they stopped working. What I can tell is the problem is in the header, actually I am not sure if it my hosting company who caused the problem because they did an upgrade to their server I …

Web Development first-post php session
Member Avatar for lawfour
0
196
Member Avatar for server_crash

I know it's possible to connect two forums to one database, but I don't know where to change the table prefixes. This is phpBB, by the way. I'm using some kind of web hosting tools, so it didn't give me the opportunity to change the prefixes when I installed it. …

Web Development first-post php phpbb
Member Avatar for Troy
0
142
Member Avatar for egoleo

Can some help me with a php built forum. i mean a good one and easy to use on a site. egoleo

Web Development php
Member Avatar for egoleo
0
300
Member Avatar for namit

I have the following [PHP] while($file = readdir($dp)){ if($file != '.' && $file != '..') { echo "<TD>"; echo "<a href='$image/$file' target='_blank'><img src='$image/$file' width='120' height='120' alt='image'><br>$file</a>\n"; echo "</TD>"; if($i == 5) { echo "<TR>"; $i = 0; } $i++; } [/PHP] well that is the juist of it but anyway …

Web Development image php
Member Avatar for Troy
0
101
Member Avatar for vijmen

Hi I am a newbie to php, having worked more in java. I am trying to write a php script to upload images to a directory. This works in windows but when I test it on a unix box, there seems to be no error message but the file does …

Web Development file-system php unix
Member Avatar for namit
0
119
Member Avatar for dexterz

Here is the code I use in the World recipe random record. I've been looking all over the net on how to display random record using access db on ASP .NET, but found most for SQL server like NEWID(), doesn't work on Access. This could be easily done in ASP …

Member Avatar for dexterz
0
182
Member Avatar for naif_prof

hi how i can find sample ASP.Net Code and small Project thanks :o

Web Development asp asp.net
Member Avatar for dexterz
0
137
Member Avatar for Paladine

I have been playing around with Mozzila, and find it too be a rather nice speedy browser, but I do ASP.NET programming and such and seem to have some issues with ASP.NET pages displaying properly. It seems to be with regards to coloring, I guess ASP controls as well , …

Web Development asp asp.net session
Member Avatar for cambia
0
409
Member Avatar for ankur_md

hi all im trying to add one more row to my table...... this row will have select button,text fields that would also be generated..... the Select list have to take values from variable in jsp page.......... please can anyone tell me how to do that......... i have also attached a …

Web Development image javascript
Member Avatar for alpha_foobar
0
471
Member Avatar for npasma

Hello, all! I'm working with a project to search a Microsoft Access database, show the results in a datagrid, create text boxes to edit the entries found, and then update them. So far, the search works great, and I have a typical datagrid with an "edit" button on the end, …

Member Avatar for npasma
0
319
Member Avatar for Sp!ke

I've been thinking for awhile now that I should code a nice news system, and I have the structure all figured out, but what stumped me was: How do you display the articles with the latest first? I would set up a MySQL table with columns Title, Date&Time, Body, ID, …

Web Development display php
Member Avatar for Sp!ke
0
183
Member Avatar for cnl83

Im not sure what is going here. I stared and stared, but nothing. I would appreciate any help in advance. Im working on lukemeaux.com. If you click on sports, or one of the other links, wait for the page to load, then mouse over wild thigns...you will see the error …

Web Development asp html-css image javascript
Member Avatar for senexom
0
270
Member Avatar for goldeagle2005

Hey all, Heres the code of an ASP I'm working on... ------------------------------------begin ASP------------------------------------- <%@ Language=VBScript%> <% artist=Request("artist") album=Request("album") Set con1 = server.CreateObject ("ADODB.Connection") Set rs1 = server.CreateObject ("ADODB.Recordset") con1.Provider="Microsoft.Jet.OLEDB.4.0" con1.Open (server.MapPath ("\databasecore\mediaguide.mdb")) sql = "UPDATE artistinfo SET UserAlbumReview='"&TRIM(Request.Form("AlbumReview"))&"' where artist ='"&artist&"' and album = '"&album&"'" rs1.Open sql,con1 %> <html> <head> …

Web Development asp first-post microsoft sql vbscript
Member Avatar for senexom
0
175
Member Avatar for server_crash
Member Avatar for roza
0
153
Member Avatar for chiwawa10

Hi all, I'm facing this problem in my running app. It is a real-time app and writes to the database whenever data is received. However, there is rare occasions that causes the ExecuteSQL to fail. However, the failure did not throw any exception, so my CDBException did not detect anything(it …

Web Development asp.net
Member Avatar for chiwawa10
0
277
Member Avatar for ashneet

I have learned php this summer so i am pritty new and need some help. what i am trying to do is that i have an item with an item# and a lot of other info from my db and would like to transfer that info in the array in …

Web Development display php
Member Avatar for ashneet
0
191
Member Avatar for ashneet

How would i display the table names in my db using php as i only want to display the name of the table and dont want to select any info in the tables. :cheesy:

Web Development display php
Member Avatar for ashneet
0
165
Member Avatar for Edward655

I got this error: "PHP Parse error: parse error, unexpected T_STRING on line 137" from the following code and I am not sure what is wrong iwth it. Any suggestions? <html><head><title>RealProphet.com </title> </head> <body> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <td width="100%"><!--webbot bot="Include" U-Include="../include_head.htm" TAG="BODY" --> </td> </tr> </table> <table …

Web Development email php sql
Member Avatar for Edward655
0
245
Member Avatar for onemanarmy

hello, i am creating a web form and i would like to use some kind of counter to create a 'form number' or something similar. what i did so far was using php to read a txt file on the server, insert that value into a hidden field. (i made …

Web Development email javascript php web-server
Member Avatar for Troy
0
215
Member Avatar for samhengon

Hello, I've been experiencing a big problem. When I log in to my yahoo mail and click on the 'empty' beside the 'bulk' button, it appears nth. I can clearly remember that it will show a text box showing a confirmation whether you are to empty the bulk folder, but …

Web Development javascript
Member Avatar for alpha_foobar
0
330
Member Avatar for ashneet

I am pritty new to PHP and there are a lot of thinks i still dont know. What the problem is that i dont understand the purpuse of the case statement another words what does it do and how u r suppose to use it.

Web Development php
Member Avatar for ashneet
0
155
Member Avatar for jdmml

Hi, I would like to create a form using php that would submit information to a mysql database. I was wondering if anyone has tips on how I should secure the form so that I do not get spammed with entries into the database. Your advice would be greatly appreciated.

Web Development php
Member Avatar for Sp!ke
0
176
Member Avatar for red_evolve

I know that after doing a query, I can use cfoutput to output the results of the query by applying the query attribute like the one below:- [code] <cfquery name="query1" datasource="mySource"> select * from users </cfquery> <cfoutput query="query1"> #username# </cfoutput> [/code] Is there any way that I could jump to …

Web Development coldfusion
Member Avatar for red_evolve
0
820
Member Avatar for grajeshmsc

Hi All I want to validate the format of file path using struts.That is if the user gives c/:Test.txt instead of c:\Test.txt.PLz Help. Thank you

Web Development java-jsp
Member Avatar for mmiikkee12
0
158
Member Avatar for RoadRunner

Hi everyone, Right now I have a shout box on my message board from shoutboxes. I want to make my own though that I can integrate into the board and have it only for member so it will stop being abused. Does anyone know how to do this? Or how …

Web Development display php
Member Avatar for RoadRunner
0
263
Member Avatar for jhoop2002

So ive got my login page almost completed, now for whatever reason i am stuck trying to get the roles for each user from my database into the authorization cookie. In regular old asp this wouldn't be a problem for me, but don't see what im doing wrong in .net …

Web Development asp asp.net display session
Member Avatar for Paladine
0
301
Member Avatar for ozeona

Hey there i have been trying to bind a table from database to a listbox. I know this can be done quite easily but i keep having an error with i cannot figure out why. Whenever i declare selectedMain as linklist.selectedItem.value, it will alsways tell me "Object reference not set …

Web Development asp asp.net dataset xml
Member Avatar for Paladine
0
643
Member Avatar for SpittingSctsman

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in _____________________________________________________ I have seen a lot of this around the internet lately, both in forums and on some production websites (WHOOPS!) :cheesy: I am currently developing a small site which uses MySQL as it's data repository, and I …

Web Development mysql php sql
Member Avatar for SpittingSctsman
0
140
Member Avatar for Cr4nberry

Hello everyone, I have a little problem using WMServer tools, I get this error when I go to localhost in my browser: [B] Warning: mysql_get_server_info(): Can't connect to MySQL server on 'localhost' (10061) in C:\WM\www\index.php on line 118 Warning: mysql_get_server_info(): A link to the server could not be established in …

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

I have this header information error while I was playing with a script. Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/layouts/connection.php:8) in /home/user/public_html/layouts/addcomments.php on line 23 I wanted the page to redirect itself after submitting the comment, but I messed up. I also want …

Web Development email first-post php
Member Avatar for Troy
0
112
Member Avatar for roza

Hi, I am not familiar with JavaScript very well, but despite the fact that where it says "enable" in "internet options" I checked the box, most of the sites still don't work. What could be the problem and how to fix it? THANKS in advance, -Roza

Web Development javascript
Member Avatar for tgreer
0
291
Member Avatar for DivX

this is what i got: function roll(id,h){ //menu = document.getElementById(id); cont+=1; document.getElementById(id).style.height = cont; t=setTimeout("roll('"+id+"',"+h+")",100); if (cont > h){ cont=1; stop(); } } this should resize a layer's height like an animated dropdown menu ... but it simply won't assign the new height.tryied also: function roll(id,h){ menu = document.getElementById(id); cont+=1; …

Web Development javascript
Member Avatar for DivX
0
402
Member Avatar for ozeona

hi recently, i realise theres such thing as Hashtable that are allow listbox to retrieve url when clicked. However, as i find out more, i realise most examples i saw are static. As in [CODE] dim mycountries=New Hashtable mycountries.Add("N","Norway") mycountries.Add("S","Sweden") mycountries.Add("F","France") mycountries.Add("I","Italy") [/CODE] is there any way to retrieve this …

Web Development asp.net
Member Avatar for ozeona
0
347
Member Avatar for jerMAn

I the Page_Load I have a random event and a public variable [code] Dim rndImage As Integer Randomize() rndImage = 1 + Int(Rnd() * 13) Select Case rndImage Case 1 ImageRnd.ImageUrl = "/jpro/images/rnd/Image1.gif" rndAnswer = "A7b" Case 2 ImageRnd.ImageUrl = "/jpro/images/rnd/Image2.gif" rndAnswer = "5RX" etc.... End Select [/code] Then in …

Web Development asp.net
Member Avatar for jerMAn
0
312
Member Avatar for om1d_h

We have a web based accounting software, and severly need to connect to scanners and operate them via our programs. What can be used? PHP, Javascript,... to do that? ??????

Web Development javascript operating-system php
Member Avatar for Troy
0
166
Member Avatar for server_crash

I'm trying to make a simple calculator and whenever I want to add text to the textfield(say a number) it will show up, then will dissapear. [Code] function display(number) { var x = document.form1.displayText; x.value = number; } [/Code] This is how I'm doing it, but why is the text …

Web Development display javascript
Member Avatar for server_crash
0
242
Member Avatar for shahdhruv

Hi everyone, I was trying to achieve a functionality for drop down box to remember its selected value if the page reloads. I saw some code on this forum using onload method. Title of the thread is "Javascript generated drop down menu " within the last two weeks. Problem is …

Web Development javascript
Member Avatar for shahdhruv
0
259
Member Avatar for Squires

I'm trying to get PHP up and running on my computer. I'm running win xp and trying to install php 4.3.7 and using apache 2 webserver. When I try to load a php file on by web browser I get a blank screen. According to php.net the issues is this: …

Member Avatar for psusme1
0
214
Member Avatar for DotNetUser

When I compile my Visual C++ .NET project under a shared drive, I get the following error: "An unhandled exception of type 'System.Security.Policy.PolicyException' occurred in Unknown Module." What do I need to configure to allow shared drives to be fully trusted? Thanks.

Web Development asp.net
Member Avatar for DotNetUser
0
290
Member Avatar for Hjcooke

Hi, im creating a website at the moment and i want to use this php code to create random effects on my page when its refrshed. Im using this php code which enetrs random text into a web page stored rom a flat file. Can any one help me, and …

Web Development display image php
Member Avatar for familyguy108464
0
223
Member Avatar for arstein

Hi, I've been beating my head against my inability to force Safari to dynamicall y load an external Javascript file, and was wondering if anyone has any advi ce. My current code works fine in Firefox and IE: [FONT=Courier New] var e = document.createElement("script"); e.src = url; e.type="text/javascript"; document.getElementsByTagName("head")[0].appendChild(e); [/FONT] …

Web Development javascript
Member Avatar for alpha_foobar
0
112
Member Avatar for Electrohead

Hi, I am a bit of a newb with PHP and so far I have managed to get the hang of ECHO and INCLUDE, as well as that PHPINFO thing. I am trying to make a very simple user login thing simply to learn how it works. At the moment, …

Web Development php
Member Avatar for Troy
0
251
Member Avatar for nightmare666

Ok, i have a login process page... There is a problem though, whenever the user/pass is correct, it will do an action, but with the } else { or } elseif{ the following actions never take place and its just a blank page if the user/pass is incorrect... whats wrong …

Web Development php
Member Avatar for Troy
0
154
Member Avatar for mmiikkee12

I just got a JSP hosting account and I'm wondering how I can connect to the PostgreSQL DB and execute queries. According to the host's FAQ, the database URL is: jdbc:postgresql://localhost/username,username,password .

Web Development java-jsp postgresql
Member Avatar for mmiikkee12
0
139
Member Avatar for Yuki H.

Is there anyone here who could teach me php? I am new at php and I do not understand it too well. Sorry if this is in the wrong fourm.

Web Development php
Member Avatar for pulse
0
130

The End.