39,323 Topics

Member Avatar for
Member Avatar for showman13

Good Morning All, I'm looking for any suggestions for integrating a group chat into a members only back office. I've looked at many options online, but none of them seem to be able to be integrated the way I would like. Basically I would like a PHP script that I …

Member Avatar for diafol
0
109
Member Avatar for Goldfinch

I want to write a PHP script to update my rss feed whenever there is a change or nightly if the above is to hard, but I don't know how. Any guidance?

Member Avatar for pritaeas
0
104
Member Avatar for Octet

Hello Daniweb Members, I am currently trying to develop a Captcha for my website, I have a wacky font that shall hopefully make it harder for bots to read, and I was planning on using the imagefttext() function to display it. Currently I have the following (Doesn't Randomly Generate String …

Member Avatar for Dani
0
130
Member Avatar for darren2005

Hi, I am trying to create a script which searches through a MySQL column which contains URLs and check the URLs to see if they are up OR down. At the moment I am getting no results added into the database e.g. 1 = UP, 0 = DOWN. Can someone …

Member Avatar for darren2005
0
158
Member Avatar for vyrenmedia

Hell all, am new here and am an intermediate php developer. I am having a silly proble am guessing the solution will be a simple syntax buh i dont know how to fix it. Okay here is it.. Lets say i have a variable in php eg $first_data=""; now i …

Member Avatar for junior_rosul
0
132
Member Avatar for saadi06

Hi, I wanted to know that can we use a php function on a column in mysql query. I want to make something like this SELECT html_entity_decode('field') from table. Thanks in advance.

Member Avatar for pritaeas
0
43
Member Avatar for AndreRet

I am totally stuck and hope that someone here might have had the same problem in the past. When I test my code under localhost, all images displays perfect, not so when uploaded from my hosting server. What it does: It uploads data from the database as a description of …

Member Avatar for AndreRet
0
147
Member Avatar for dalilice

Hello guys, i want to make a script that can show me (the user) the 5 visited last links on my website. Not sure if php is teh correct language to do this but i do not know how coockies work.

Member Avatar for pritaeas
0
73
Member Avatar for mathiasbbaale

hi guys, i need some help on how i can **use php to upload a photo** so that it appears on the profile page. i'm deveoping a discussion forum with my friends and i need each person's photo on his profile page. there must be something to do with mysql …

Member Avatar for pritaeas
0
8
Member Avatar for adishardis

Hi, I'm wondering what type of mysqlfield would be advantageous for outputting the containing text as a bullit list in php and if the text should be formatted a certain way. I would be supergrateful for an example! :p Take care Adam

Member Avatar for adishardis
0
775
Member Avatar for Echo89
Member Avatar for opawix

<center></center> <form name="registration_form" method="post" action="register.php" onsubmit="return Validate();"> <table border="0" align=center> <tr> <td><font size=5><center>Name: </center></font></td><td><input type="text" name="names"></td> </tr> <tr> <td><font size=5><center>Email: </center></font></td><td><input type="text" name="email"></td> </tr> <tr> <td><font size=5><center>Username: </center></font></td><td><input type="text" name="username"></td> </tr> <tr> <td><font size=5><center>Password: </center></font></td><td><input type="password" name="password"></td> </tr> <tr> <td><font size=5><center>Password Confirmation: </center></font></td><td><input type="password" name="password_confirmation"></td> </tr> <tr> <td><font size=5><center>Phone Number: …

Member Avatar for opawix
0
208
Member Avatar for Izzy Kiefer

Hey guys, I've hit a brick wall trying to login to an ssl site to update fields of a form and submit, mainly because(i'm guessing) it has a load of javascript within it and also a several redirects at and after login page. I have managed to come to the …

Member Avatar for LastMitch
0
1K
Member Avatar for raovinesh

hi all, can anyone help me to resolve this issue. I have this header scrip $globe_id=$_GET['globe_id']; header("location: globe_welcome.php?globe_id=".urlencode($globe_id)); It is not working properly. When i am posting data through form is is not showing id in address bar. Its result come like http://mysite/more/globe_welcome.php?globe_id= where i am wrong? can any body …

Member Avatar for LastMitch
0
350
Member Avatar for pavitrakannan

whenever i execute a mysql php code...it says local host not given access to this database..... i just ran other programs an hour back and it showed no problem! now i am not able to connect to tht particular database. i checked the xammp cntl panel....and resatrted mysql and apache …

Member Avatar for Smeagel13
0
254
Member Avatar for scottlpool2003

I'm in the basics of learning to code in OOP. So far I've tried simple input/output and succeeded but am now trying to move onto something still rather basic but a step up from previous attempts. Anyway, I'm writing a login script connecting to a PDO database. I've tested all …

Member Avatar for diafol
0
326
Member Avatar for cssweb

hello guys i have a problem with this code when id add a comment and comment insert in database and when i make refresh on the same page i get this warning : One of the fields are still empty, i think the problem in the first code <?php if …

Member Avatar for diafol
0
221
Member Avatar for Octet

Hello DaniWeb, I've finally gotten around to swapping from MySQL to MySQL(i), mainly due to it's security advantages with Prepared Statements. In the past I've been adding `include ('/Some/Directory/File.php);` to the top of each page, so that I can store my functions in a secure directory and so that I …

Member Avatar for Octet
0
254
Member Avatar for daimaku

i'm trying to make a script to calculate the diference between two dates, but in minutes, the thing is that i need to remove from mysql database all the entries that has mora than 15 minutes on the database, i'm planing to run the script in background using the cron …

Member Avatar for LastMitch
1
197
Member Avatar for Squidge

Evening All, I am looking to start a class that dynamically creates a sitemap.xml on command and if possible auto uploads to google. The only thing is all the scripts i have come across by searching google tend to be using static pages. My links are dynamic and are also …

Member Avatar for Squidge
0
590
Member Avatar for MWEB

So i have this index.php code: <form method="get" action="search.php"> <label>Search For: </label><input type="text" name="$res" /> <input type="submit" name="submit" value="Start Search" /> <input type="reset" value="Reset" </form> And this code in search.php <?php $con = mysqli_connect('localhost','user', 'pass') or die(mysqli_error($con)); mysqli_select_db($con, 'piese') or die(mysqli_error($con)); #query database $query = mysqli_query($con, "SELECT `id`,`price` FROM `edit` …

Member Avatar for AndreRet
0
173
Member Avatar for PowerCheez

I have a small problem. I wrote this script to update the status of my list using a checkbox for each line I want updated. But I (beeing new to this whole thing) can't seem to get my button to do what I want it to do. <?php //ansluter till …

Member Avatar for PowerCheez
0
222
Member Avatar for eman neercs

I have a table which shows our top sellers and Weeks of Stock left. Its generated by joining an order db with a stock db. I'm struggling with try to capture the really fast movers. Here is the script SELECT a.EAN, a.SKU, a.Name, Sum(a.OrderedQuantity) Round(Avg(a.Price),2) as AvgPrice b.Quantity, round((b.Quantity/Sum(a.OrderedQuantity)),0) as …

Member Avatar for eman neercs
0
114
Member Avatar for mrickert

Hi- I'm getting these PHP warnings: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: undefined symbol: zval_property_ctor in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: undefined symbol: zval_property_ctor in Unknown on line 0 Can't find the cause …

Member Avatar for mrickert
0
115
Member Avatar for Vingklippt

I am trying to create a form that updates mySQL-database. I've created three php-pages. **updatepizza.php** <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="billie"; // Mysql password $db_name="cygna_fyraarstider"; // Database name $tbl_name="pizza_menu"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot …

Member Avatar for Vingklippt
0
217
Member Avatar for dalilice

i want to show hide multiple divs with jquery or javascript. I seached the web but i find codes that must have unique divs like: <div id="div1">text</div> <div id="div2">text</div> and so on, but i want to add the divs in a foreache php function so i can't have multiple IDs, …

Member Avatar for pritaeas
0
266
Member Avatar for amzu

I want to download the cities of countries depending upon the the selection of countries.Is this posssible using curl. And How?

Member Avatar for pritaeas
0
71
Member Avatar for afroo.gfx

**I'm beginner of Php .. I Develop my first dynamic website -> http://wwww.afrogfx.com if you look at my sidebar you will see categories list my problem located here if i create sub sub categories like that** CAT A - SUB CAT A-1 - SUB CAT A-2 -- SUB CAT A-3 …

Member Avatar for pritaeas
0
3K
Member Avatar for kv79

Hallo there, does someone knows, where is the use of VARBINARY in MySQL database? Thanks, Danijel

Member Avatar for pritaeas
0
340
Member Avatar for dean.ong.14

The End.