39,323 Topics

Member Avatar for
Member Avatar for thewebhostingdi

Problem in wordpress plugin Google sitemap generator after upgrade on PHP to 5.2.10 Few users are receiving 550 internal server error or 404 page error while generating sitemap from wordpress admin area. We just uprade PHP on server to 5.2.10. I found this problem only with this verson of PHP. …

Member Avatar for kylegetson
0
74
Member Avatar for ScottHam

I'm wanting to create a cruising/dating site in php and mySQL. The options I need in the site is for users to be able to login, create their own profile with photos. I need the search script to be able to search for the usual dating site options and for …

Member Avatar for ScottHam
0
998
Member Avatar for Tekkno

I am not really sure where to go with this, but any help I can get would be appreciated. What I am trying to do is put together an array to use with a foreach loop by getting columns from multiple tables. Here is my query: [code=php] $results = mysql_query("SELECT …

Member Avatar for Tekkno
0
83
Member Avatar for krisfr

I am trying to make a web page that sequentially displays all fields of a database table. Ordered by the Indexed ID of each record I would like to be able to have 4 Nav buttons And have 4 mod buttons; add new, delete, edit and reset I would like …

0
84
Member Avatar for cwarn23

I'm not sure if this is possible but I'm kinda stuck in the middle. For my script I need to calculate the server load and the mysql cache usage both in percentage. Does anybody know of any scripts I can use for this. There are probably open source things that …

Member Avatar for cwarn23
0
336
Member Avatar for rcdeck

Good morning everyone, I am currently building a website for the company where I work and I am looking to get a hit counter so I can pull some usage statistics. Our site is on the Intranet and not everyone has access to the Internet so I would rather not …

Member Avatar for almostbob
0
1K
Member Avatar for phoobah

I have somewhat a simple scenario, and having been out of PHP for some time, I'm a bit of a brainfart the past two days as I'm researching and re-educating myself with PHP. To put in lamen terms, I have a CSV file on the host server. I have a …

Member Avatar for phoobah
0
2K
Member Avatar for baudday

[code=php] foreach($files as $filename) { $file2 = $file2.$filename."<br />"; echo $file2; } [/code] What is wrong with this foreach loop? I just cannot figure it out. It is supposed to take the value from $files and store it in $filename. It's not doing this. It says $filename is an Array. …

Member Avatar for baudday
0
91
Member Avatar for baudday

Can someone please help me with this recursive function! It's messing up the incrementing of $x. I don't know what's wrong and I've been looking at it for so long now. [CODE=php]function list_dir($handle, $path) { // Loop over the directory and don\"t display certain files global $x; $x = 0; …

Member Avatar for baudday
0
174
Member Avatar for cwarn23

Hi and I am looking for a compression mechonism that can compress text (just letters and numbers) into binary or all weird symbols. Does anybody know of any good php/mysql codes as I can't get any to work.

Member Avatar for digital-ether
0
618
Member Avatar for Rkeast

I have an application that when a new user registers, it creates a folder for that user: /users/$user_id It then writes an index.php file to that directory, that contains the following code: [CODE] <?php define('GIVE', 'TRUE'); define('GIVE_PATH', dirname(__FILE__)); require(dirname(dirname(GIVE_PATH)) . '/gp_wrapper.php'); ?> [/CODE] It uses the path info to get …

Member Avatar for Rkeast
0
173
Member Avatar for fongoos
Member Avatar for hostplator
0
78
Member Avatar for sulkhanz

Urgent help needed. i am a newbie, and starting to have a headache with this problem, i am using form to enter firstname so that all the details of that person can be pulled. where am i doing it wrong? its showing me the headings of firstname, lastname, and age …

Member Avatar for sulkhanz
0
114
Member Avatar for PetrQ

Hello everyone, I´m newbie in PHP and I can´t solve following problem. My code contains form of unknown number of rows. I add it using jQuery class ( clone the last row ). I wanted to use array. Write out complete form for confirmation and insert it i. e. as …

Member Avatar for cloudgen
0
925
Member Avatar for Enthused

Hi, I have created a php file to upload images i want this to store the image name in a mysql database. I created this php code but when it comes to storing the file name in the database it stores each file name in a new row. Can anyone …

Member Avatar for digital-ether
0
94
Member Avatar for iPixelate

Hey everyone :) I keep getting a 'T_CONSTANT_ENCAPSED_STRING' parse error on line 81 of this PHP script, however I can't find the issue. I am a little bit of a noob at PHP, I admit, but if someone could correct the issue for me that would be great! This is …

Member Avatar for Fest3er
0
167
Member Avatar for Salehshame

Hey Computer SCI Gal, Ma name is "Shame" and am in need of yo help! I 've been trying to write a PHP code that sends form data to any email (gmail, yahoo etc). So far, I've failed. If you can help me, Pliz be my guest and savior !!

Member Avatar for sarithak
0
149
Member Avatar for itisnot_me

now idk if you can or not. but if i can. how do i secure form data that gets sent from one site and post on another. example. clients have there clients fill out a form and the data gets posted to a page on my site that will store …

0
48
Member Avatar for OmniX

We have all wanted data to be transfered to excel at one stage or another. I would like to know how people have done it and come to a general consensis on how it should be done. I usually use fopen or simple echo statement and declaring it as .xls …

0
76
Member Avatar for HFK11

I have been working on this problem for a few weeks now and everything I have tried will not work. I am new to working with PHP and MySQL and have never use a forum, so you can say I am new to everything right now. When I try to …

Member Avatar for Fest3er
0
185
Member Avatar for j_limboo

the php process the page once the vistor clicks on the php based link they go to iframe where it is html. I was looking for a function where I can insert a link call go back to the link and that sould be in html on the frames

Member Avatar for j_limboo
0
106
Member Avatar for quickbird

I have this code in which i want to paginate only the $getreplies section in the code.Please help me i have tried various ways but they didn't work.here is my code.... [CODE]<?php include "connect.php"; //mysql db connection here $id=$_GET['id']; print "<link rel='stylesheet' href='style.css' type='text/css'>";?> <div align="center"> <?php print "</div><img src=\"mylogo.jpg\" …

0
61
Member Avatar for dasatti

I had a code written long time ago which was working fine for small records but as the number of records begin to increase it completely failed. I am attaching the file with comments which will help you understand the problem. For fewer records you can see it working at …

Member Avatar for dasatti
0
146
Member Avatar for harikris2007

pdf_download.php ........................................................................ <?php $file_name=$row['tcb_pdf']; header("Content-type: application/pdf"); header("Content-Disposition: attachment; filename=\"$file_name\""); $data=readfile("../new_books/".$file_name); echo $data; ?> home.php ............................................................................... <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="images/rar.gif"><a href="pdf_download.php?name=<?php echo $row['tcb_pdf'] ?>"><img src="images/button_buy.jpg"></a></td> <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="images/rar.gif"><a href="uploads/<?php echo $row['tcb_pdf'] ?>"><img src="images/untitled.bmp" width="43" height="17"></a></td> </tr>[code]hi, I need a help from anybody. I have a page with pdf …

Member Avatar for guru12
0
118
Member Avatar for mvt6204

Hello guys, is there a way to detect whether JS is enabled or not, using PHP codes? Thanks in advance. =)

Member Avatar for CalmQuiet
0
195
Member Avatar for smvec

hi... im trying to insert a row into the database... but the query is not run successfully.. [CODE]$sql = "INSERT INTO temp_db (fname,mname,lname,dob,gender,email,country,phno,mobile,userid,password,mti,rtime) VALUES ('$fname','$mname','$lname','$dob','$gen','$mail','$country','$phno','$mob','$uid','$pass','$mt','$rtime')"; $res = mysql_query($sql) or die("cud not add record"); echo mysql_error();[/CODE] this is the code..... im gettin the error from the Die part of the query.. …

Member Avatar for smvec
0
80
Member Avatar for sam023

hello friends i need a good script for uploading and displaying all images from database.!! waiting for positive reply..!!! thanks in advance..!! :)

0
55
Member Avatar for davrosboy

Hello all I have never posted before and bit of a noob I have a problem i hope someone can help with... I have a wysiwig editor (nicedit) attached to a page which gets called and allows the user to edit portions of the page in a modal window. This …

Member Avatar for davrosboy
0
106
Member Avatar for van2006

hi i am new to this forum. i am able to add image file(a.jpg) to mysql databse. when i see the file in a databse . i could see the file.but when i try to retrive that file ia m getting error.can anybody help me thanks

Member Avatar for nurnamira
0
329
Member Avatar for valonesal

I would like to be able to open a php file and edit it from a browser window. We need to easily add website to this file. We will have a hidden, password protected area that we will use to edit this file. Is there an easy way to do …

Member Avatar for diafol
0
1K

The End.