39,402 Topics

Member Avatar for
Member Avatar for n2ads

I have a classified site and when I try to add a listing through the site admin panel I get the following error: Warning: Cannot modify header information - headers already sent by (output started at /home/n2ads/public_html/includes.php:292) in /home/n2ads/public_html/siteadmin/AddOffer.php on line 54 Can someone help me fix it?

Member Avatar for n2ads
0
114
Member Avatar for Brinnie

Hi people, once again I need your help. :o I have just installed a toplist {[url=http://www.artanderotica.com/toplist/]Here[/url]} I want to put it centered on the bottom of {[url=http://www.artanderotica.com/links]This Page[/url]} I am mildly familiar with php includes and iframes, but I don't know the best way to go about doing this and …

Member Avatar for Brinnie
0
123
Member Avatar for StrikeFreedom

Hi people, I have been trying to develop a database searching PHP script and encountered some problem. The problem is that whatever I type in as the keyword the script would return me all the entries from the database regardless of whether the word is actually there or not. Can …

Member Avatar for Sp!ke
0
97
Member Avatar for Disconnectus

Hi, I installed apache 2.0 But when i look to system tray, PhpGeek Utility is not working. When i click phpgeek in the windows service, i saw path : c:\apache\apache.exe But this not true, because i installed it program files folder. :cry: Before instalition of apache 2, i installed an …

Member Avatar for kiwimedia
0
204
Member Avatar for Brinnie

I've got AutoRank 2.0 and uploaded all the files to my public_html folder an CHMOD the folders like the directions told me, but when I run the installer, I am propted by a login/password box but it won't take my ftp login. Did I miss something? Please help me out …

Member Avatar for kiwimedia
0
55
Member Avatar for ashneet

HI, I need to know how to display a variable from DB that has antoher variable in it: here is what i mean ($Description) is an variable that contain this html code: [HTML]<table height="688" width="500" border="0"> <tbody> <tr> <td width="82%" height="20"><strong><font face="Arial">$Name</font></strong></td> <td height="20"><strong><font face="Arial">$Item_num</font></strong></td> </tr> <tr> <td colspan="2" height="380">&nbsp;</td> …

Member Avatar for ashneet
0
220
Member Avatar for Brinnie

What is the best, or where can I find the best link/affiliate scripts? I had no luck as sourceforge and found a few at hostscipts... But I want to know, in your opinion, what are the best affiliate scripts? [B] Now, pertaining to my search, I am looking for 2 …

Member Avatar for sarahk
0
222
Member Avatar for escolta

the first echo [PHP]echo $strSQL;[/PHP] gives: SELECT company_name from passwds where user = "jgonzalez" and ID = "0052" wich is allright but the second pair of echos are supposed to return solution if company_name is solutions and selex if company name is selex but i always get for an echo …

Member Avatar for sarahk
0
148
Member Avatar for breakaway

I have a script that has tables embedded inside php. When I change the td width in a table, it shows up in internet explorer, but it doesnt show up in firefox. I am having to do [CODE]<td width='230' .....[/CODE] because the "" will throw off the PHP. I am …

Member Avatar for Kschikan
0
109
Member Avatar for RickW

At my firm I developed (haha, more like put together with bubblegum and paperclips) a CGI based upload script and another download script to accompany it. The upload page requires a username and password. You then can browse for a file and upload, and it stores it in a directory …

Member Avatar for ProFreelance
0
200
Member Avatar for ashneet

Is it possible to format text with php as in whenever php sees ~ in text it would put <br>. I am not sure if it is possible as i am new to php.

Member Avatar for Electrohead
0
2K
Member Avatar for ashneet

Ok I am making an admin part of the website and what I need to do is to be able to change the item detail while able to see the result on the fly. What I am really trying to do is to store my item detail into one columm …

Member Avatar for Troy
0
209
Member Avatar for cali

Hi there! I finally managed to do paging BUT it works only when i manually give 'category' a value. If i use $_POST[category] a warning occurs and no result is posted: Warning: Invalid argument supplied for foreach() in C:...\a.php on line 71 Here is my code in the a.php file: …

Member Avatar for cali
0
247
Member Avatar for bigmaneric97

In the follow code I am getting a parse error. I have another form that I use this exact same code on to handle the form and it works. Just lost... if ($_POST['ClientLessVPN']) == 'Yes' { <------------- $body2 = "Clint-Less VPN\n"; } The first line of the code is where …

Member Avatar for bigmaneric97
0
66
Member Avatar for bwest

Well I tried finding this information all over and all I could find were people trying to edit Word docs with php. I, rather, am trying to just load them into a variable to search through them. The server is Linux and not windows so we will not have the …

Member Avatar for bwest
0
119
Member Avatar for cali

Hi there! I have a problem when using $_POST variables in the following bar-graph. It seems as it cannot take values form a form, use them and then apear the graph in the resulting page. The only thing I take is the page with the --header --the image's(bar-graph) borders --footer …

Member Avatar for cali
0
140
Member Avatar for server_crash

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

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 …

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 …

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 …

Member Avatar for Class
0
211
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 …

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. …

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

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 …

Member Avatar for Troy
0
101
Member Avatar for hbmarar

hi, I have a tar.gz package of files that consists of php files.Now if i extract it through the winzip and modify a few files/ delete , I would like to make a tar.gz package back.I would like to know about the posibility. Is there any softwares that creates the …

Member Avatar for namit
0
80
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 …

Member Avatar for namit
0
119
Member Avatar for om1d_h

We have a linux server and windows clients. Our webbased accounting system is soppused to make reports in different formats like .DOC. The system is written in PHP. How can we generate that format?

Member Avatar for senexom
0
222
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, …

Member Avatar for Sp!ke
0
183
Member Avatar for TraderX

Also check out [url]http://www.daniweb.com/techtalkforums/thread13624.html[/url] as I am trying to compile a list of places that I can ads from Ok... I have a site, getting people stopping by, so what the hell put a couple ads out their and see what happens. I do have a vb forum, and I …

Member Avatar for PauSon
0
504
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 …

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:

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 …

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 …

Member Avatar for Troy
0
215
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.

Member Avatar for ashneet
0
155
Member Avatar for mattd2

Hello, This is my first python script, so I could use a little bit of help here. :) I'm using the 'Universal Feed Parser' ([url]http://feedparser.org/)[/url], and I have a list of feed URLs in a database which I would like to pull out and go through each of them. I …

Member Avatar for mattd2
0
312
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.

Member Avatar for Sp!ke
0
176
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 …

Member Avatar for RoadRunner
0
263
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 …

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 …

Member Avatar for Troy
0
160
Member Avatar for sytodave88

i am looking for a php script that give a user a certin amount of money when they sign up (dummy money) its for an rpg game online similer to [url]www.themafianetwork.net[/url] and a script that bans users and mod kills them if someone could help it would be very helpfull

Member Avatar for Troy
0
119
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 …

Member Avatar for Troy
0
112
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? ??????

Member Avatar for Troy
0
166
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 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 …

Member Avatar for familyguy108464
0
223
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, …

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 …

Member Avatar for Troy
0
154
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.

Member Avatar for pulse
0
130
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: …

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.

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 …

Member Avatar for RamiroS
0
184

The End.