39,316 Topics

Member Avatar for
Member Avatar for manolisvl46

hallo there everyone.. i got an array from my database [CODE]$save=split("[|;]",$listOfItems);[/CODE] and what i want i s after making some changes to the attributes on the array above to export them on an csv or excel format but directly as a message to the browser .. i dont want it …

Member Avatar for colweb
0
2K
Member Avatar for dan1992

can some wan say me , a script or a php code to make the website to have more language thx :D

Member Avatar for dan1992
0
86
Member Avatar for Stefano Mtangoo

Hi, I need to secure my password and here are my questions. 1. What is the best method of making a salt? I have seen enough arguments for not using user info but rather random values. 2. How do I know user salt if I used random one? Should I …

Member Avatar for Stefano Mtangoo
0
137
Member Avatar for Robert1995

Hello , I'm just amazed how strong php is , but i don't have an idea where to start , I mastered c++ at a command promp level + kinda average at visual c++ . If some1 could give me some sites or tutorials ? And is code igniter a …

Member Avatar for colweb
0
80
Member Avatar for niths

hi all, i had a login page. so whenever i come to login page i am moving to the username text box and selecting that and typing username. so how can i directly type username wat i mean is immediately after coming to login page the cursor should be in …

Member Avatar for nav33n
0
39
Member Avatar for nonshatter

Hey guys, I have reached my wits end with this..! This code works on two of the servers that I have tested, but doesn't want to work on the third server that I need it on! It displays fine, but when the form data is posted back itself to be …

Member Avatar for nonshatter
0
158
Member Avatar for SKANK!!!!!

for some reason, the exact same code without the added "$i[id]" part is working somewhere else on my site, but this is just rediculously NOT working for what i have here: [CODE]function nimg($directory='.') {return count(glob($directory."/item/".$i[id]."/*"));}; [/CODE] i tried this code when there was no item directory made yet and still …

Member Avatar for colweb
0
154
Member Avatar for gunnarflax

I recently just stumbled across a forum where they were talking about [URL="http://winbinder.org/index.php"]WinBinder[/URL] which is a library letting developers easily create windows applications with php code. I had never even thought about using php as a not strictly web programming language. So then I kept reading about this and googling …

Member Avatar for jwenting
0
144
Member Avatar for davidm23

Hello guys, can anybody advice me how to remove or limit adding links inside posts of a wordpress blog? any php plugin available for this? I have a blog where many contributors are placing too many links with their posts. How can I solve this issue? D!

Member Avatar for davidm23
0
69
Member Avatar for smush

Hi everybody, I'm having trouble with my query on line 19. I'm supposed to search for a name and return the balance and credit limit. I'm not sure why I keep getting a parse error. Thanks in advance! [CODE=php] <?php $find=$_POST['find']; $name=trim($_POST['name']); if (!$name) { echo 'You have not entered …

Member Avatar for Will Gresham
0
114
Member Avatar for hknight

Using PHP's IMAP functions, I want to move 10 messages from the folder "xyz_msg" to the folder "xyz_tmp" Below is the code I use to connect to the email server. [code] <?php $mbox = imap_open ("{imap.gmail.com:993/imap/ssl/novalidate-cert}xyz_tmp", "example@gmail.com", "password") or die("can't connect: " . imap_last_error()); $imap_obj = imap_check($mbox); echo "<pre>"; var_dump($imap_obj); …

Member Avatar for cwarn23
0
868
Member Avatar for rcurtisjr

I'm sure I'm missing something simple but I just can't seem to figure this one out. I have a dynamic XML file that is too big to display all the information on one web page. So I need a way to split the information across multiple pages. I have used …

Member Avatar for rajarajan2017
0
766
Member Avatar for MDanz
Member Avatar for deoshermes

Hey everyone, This is a thread about a rather complex SWF operation (for me at least is it complex) What is done: I have a main SWF file that loads some other SWF to be displayed in it and also loads 2 JPG's as the background of the buttons. There …

Member Avatar for rajarajan2017
0
176
Member Avatar for locking

My name is Sami and i am new in this forum but hope to stay a long time around here. I hope you will welcome me in here and share your ideas, experiences, and knowledge to everyone who has got stuck with all kind of computer issues. ps Dont make …

Member Avatar for lovevietnam99
0
114
Member Avatar for alafift

I have been trying to connect a database to generate XML File through PHP code, but I still have a problem on this code. Can somebody help me correcting this code? Thanks in advance. <?php @ $db = new mysqli('localhost','622Std1', '622StdDB1', '622stddb1'); if (mysqli_connect_errno()) { echo 'Error: Could not connect …

Member Avatar for alafift
0
417
Member Avatar for benk1

Hi Guys, I have access to mini linux PCs that can serve up webpages using the Boa webserver. They also house an sqlite db file. What I want to do is install the bare-bones of php with only sqlite and PDO functionality, so I can write to and display data …

Member Avatar for benk1
0
268
Member Avatar for azegurb

hi all, i have two form in php like this [CODE]<form name="az" method="post" action="add.php"> <select name="category" id="category">; <?PHP echo "<option value=default>birini sec</option>"; @$db=mysql_connect('localhost','uname','pass'); mysql_select_db(db); $sorgucat=mysql_query("select * from category"); while($satircat=mysql_fetch_row($sorgucat)) { echo "<option value=\"$satircat[1]\">$satircat[1]</option>"; } ?> </select> </form>[/CODE] and other is [CODE]<form name="az1" method="post" action="del.php"> <input type="submit" value="del" name="del"> </form>[/CODE] i …

Member Avatar for nonshatter
0
94
Member Avatar for nonshatter

Hey guys, I have been moving and testing my scripts on a different web server, but I am not getting the same results on both computers. Here is the code: [CODE] <?php session_start(); //THIS FUNCTION VALIDATES INPUT function VerifyForm(&$values, &$errors) { if (strlen($values['firstname']) == 0) { $errors['firstname'] = 'Please Enter …

Member Avatar for nonshatter
0
64
Member Avatar for jrw89

I have the following script saved as 'index.php':[CODE=php]<?php $implementation = new DOMImplementation(); $doctype = $implementation->createDocumentType('html'); $document = $implementation->createDocument('http://www.w3.org/1999/xhtml', 'html', $doctype); $head = $document->createElement('head'); $document->documentElement->appendChild($head); echo $document->saveXML();[/CODE]Now when I run the script, I get nothing at all (i.e. no source XML is being received by the browser). Error reporting is set …

Member Avatar for jrw89
0
133
Member Avatar for LittleMeemz

Help, I'm a php rookie. I have a functioning form to email script, but I can't seem to get it to display checked checkboxes. I am grateful for help on this! Here's the checkbox (three checkboxes) and submit portion of my html form: [code] <label>Check all that apply: </label> <p><input …

Member Avatar for LittleMeemz
0
122
Member Avatar for caro88

Can any1 help!! I am creating a library management and student system, but depending on the 2 set passwords given will open up the next page. Library managers details will be: username: Manager password: books10 and students will be: username:student password:loan so depending on which username and password they enter, …

Member Avatar for genevish
0
179
Member Avatar for leeZA1

Hi i have a user form, one part is a textarea where the user tpes in information. If they just enters spaces rather than text, i want a error to appear and not accept it, what code do i need??

Member Avatar for colweb
0
74
Member Avatar for rustifer

Hi there Im getting this error message with a script im trying to use. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rideron1/public_html/join_form.php on line 67 No database selected The script im using works on my local server but as soon as I upload it to …

Member Avatar for rustifer
0
231
Member Avatar for abrish24

Hi I'm very new into this website and to PHP. I want to make a drop down to display from my database. when i wrote the option value, a drop down is displaying in my html page however all the data comes together in one drop down. I want to …

Member Avatar for Tekkno
0
137
Member Avatar for muralibobby2015

hello.. i am uploading excelsheet into database using php. but when i am uploading then characters are displaying ascii type.

Member Avatar for cwarn23
0
94
Member Avatar for ultimatebuster

How would one use Python as a PHP alternative? If there a hello world example somewhere?

Member Avatar for snippsat
0
133
Member Avatar for Ruko

Hey, i'm new to PHP coding and my knowledge of php is increasing. I have a problem though. Im currently making a flash game site and I want to make urls like "Domain.com/Play.php?gid=34823" And when guests or users are on that page (with ID "34823"), I want it to show …

Member Avatar for Will Gresham
0
325
Member Avatar for ReDuX

Do you work with datasheets regularly ? Always getting .pdf files open in your browser and having to wait EONs for them to download/display ? Well here is a resolve for that most frustrating of problems with Adobe's "Handy file intercept" feature. Use this script to FORCE the browser to …

Member Avatar for w3m
0
145
Member Avatar for througheye

Hello, Don't know where to post this though this topic based on web development platform, i think it may goes here cause in the other software forum in daniweb i didn't get any response. Is anyone aware of screen scrapper Enterprise. I want to use that. Anybody has any good …

Member Avatar for througheye
0
77

The End.