39,388 Topics

Member Avatar for
Member Avatar for Shanti C

Hello... Good Morning All... How to hide all query strings in my url and here i can't use hidden variables for these all because in all times i couldn't send them with form submission..And my page is having four query strings to be sent... If any body have any clues …

Member Avatar for Shanti C
0
5K
Member Avatar for jobi116

hi.. I have encrypted a file in C# using [URL="http://www.codeproject.com/KB/security/DotNetCrypto.aspx"]this[/URL] code .. i will upload the encrypted file to my server.. Now i want to write an Equivalent PHP encrip/decript to use the file.. Can i use mcrypt_cbc() to do the job or is there anything special i need to …

Member Avatar for cwarn23
0
56
Member Avatar for danielagaba

hi i'm designing an online evaluation application using php. i was asked to add a feature that enables a user if unable to finish anwering questions can save his/her progress and continue when he/her next logs in. basically i have no idea how to even start. thnx

Member Avatar for nav33n
0
418
Member Avatar for serdas

i need to include this file in some other php file if i add a plain text where i want it to display it works but when i include this file it just displays the form and the comments on top of the page rather then where i want it. …

Member Avatar for serdas
0
55
Member Avatar for emhmk1

Hi People, I've created a couple of install pages for a client (install.php and install2.php) My question / problem is... In install2.php i want to unlink install.php and install2.php via a hyperlink or button and i was wondering how best, if it is possible, to achieve this. Can anyone help …

Member Avatar for nav33n
0
110
Member Avatar for queenc

hi i have some file in my ftp.now i am saving my file in a folder.please tell me how to refer the file outside the folder. eg require_once('../common/dblayer.php'); the above is to refer a file inside a folder.how do the same for outside a folder

Member Avatar for almostbob
0
237
Member Avatar for rtipton

[QUOTE]I am haveing trouble with updating a row out of a table. If there is one row in the table the edit works ok. But if I have more then 1 row in the table it will only let me edit the last row can any body help on this. …

Member Avatar for shadiadiph
0
96
Member Avatar for Swapsry

Hi frnds... I am new to Ajax..i know some minimum basics about ajax.. i know some what php and mysql... So, plz send me ajax login form and registration form....i am trying to learn ajax with database....plz anybody help me... Cheers..

Member Avatar for death_oclock
0
93
Member Avatar for theimben

Im having trouble ending sessions for some reason :| Heres my code. Can anyone see what the problem is? [code] <?php include('includes/config.php'); unset($_SESSION['isLogged']); session_destroy(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> </HEAD> <BODY> <?php echo '<div class="nav">'.$navigation.'</div>'; ?> You have been logged out. </body> </html> [/code]

Member Avatar for nav33n
0
104
Member Avatar for sam1

hi, I am trying to learn how to upload multiple Music files to server then save information about them in database e.g. albumname, filename, type and maybe url. i have few questions: 1. would i be able to write the albumname in database as the folder i am uploading to. …

Member Avatar for nav33n
0
260
Member Avatar for antwan1986

Hi guys, this is a brainteaser for me and I'm wondering if you could help. Lets say I'm looping through these results from MySQL, and the result set is as follows: ID------Name 4------ Anthony 76------John 31------Andrew 98------Sonia If I was on the 2nd row (with an id of 76, name …

Member Avatar for pritaeas
0
122
Member Avatar for Stefano Mtangoo

Can someone clarify me the difference between CHAR and VCHAR and which one is best to be default type in my all SQL queries? Is it VCHAR or CHAR? :D

Member Avatar for nav33n
0
97
Member Avatar for shadiadiph

can you include arrays[] in header urls? I have the following but it doesn't work so I am thinking it might not be possible. [code] $name = strtolower($_POST["name"]); $name = stripslashes(ucwords($name)); $email = strtolower($_POST["email"]); $emailx ="/^[a-z0-9]+([_.-][a-z0-9]+)*@([a-z0-9]+([.-][a-z0-9]+)*)+\\.[a-z]{2,4}$/"; $alphaspace ="/^[a-zA-Z]+((['\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$/"; if ($name=="") { $error[] ="Name is a required field please …

Member Avatar for shadiadiph
0
128
Member Avatar for shadiadiph

does anyone know of any good resources for php regex for form validation. I am looking for good regex for name: (including -.' and no spaces in the first space no doubles of ..''-- phone: again no spaces at the start allowing + and - alpha: only lowercase letters no …

Member Avatar for shadiadiph
0
108
Member Avatar for TheNational22

Hello all, first time working with PHP, had a question. Working on a friend's website, we thought we'd be wicked cool and add a dynamic photo gallery. I stunbles across this neat pile of code: [code=php] <?php $columns = 2; $thmb_width = 120; $thmb_height = 80; function resizeImage($originalImage,$toWidth,$toHeight){ // Get …

Member Avatar for TheNational22
0
185
Member Avatar for Stefano Mtangoo

I'm beginner in PHP, and for long have been doing my site in XHTML. Now I want to make a News box and have made PHP code for that function as shown below: [CODE=php] <?php function pop_boxes($words, $class) { $string = "<div $class> $words </div>"; print($string); } ?> [/CODE] And …

Member Avatar for Stefano Mtangoo
0
80
Member Avatar for ryy705

Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe …

Member Avatar for mcscreech
0
1K
Member Avatar for marjan_m

Hi, I need to discuss some problems regarding handling of text boxes using php which are as follows: [LIST=1] [*]Can we set focus of a text box when an if condition is true in php? [*]Can we disable a text box when an if condition is true in php? I …

Member Avatar for marjan_m
0
97
Member Avatar for lonestar23

I am trying to parse the the following xml code below, I need to retrieve only totalhits="376719" in the "resultset_web" child. I also need to use code similar to the following: [CODE]<?php $doc = DOMDocument::loadXML($information); $result_node = $doc->getElementsByTagName('resultset_web'); $tHits = $result_node->item(0)->getAttribute('totalhits); ?>[/CODE] /* XML TO BE PARSED */ [CODE]$information = …

Member Avatar for lonestar23
0
200
Member Avatar for Stefano Mtangoo

Hi All, Here is my Index code. How can I make footer be at the bottom of other div. In css I floated to left the leftbar and to right the main contents. The header is fine but footer comes just below main content instead of being at bottom of …

Member Avatar for Stefano Mtangoo
0
117
Member Avatar for ahmksssv

Hi frnds.... I have a page with different topics and explanations.... the total description in a single page..and all headlines at one place... now iam clicking on nth headline, than the page shows that nth topic description location... plz tell me how can i do that?

Member Avatar for nav33n
0
84
Member Avatar for theighost

hi, I am trying to complete a script that sends an email along with html, the html changes the colors and the font, positions ...etc. I am in need of help. thnx in advance

Member Avatar for theighost
0
106
Member Avatar for nzaman
Member Avatar for queenc

hi If the user changes his photo i want the [B]else[/B] to work.if u the does not change his old photo i want the [B]if[/B] to work.but my below code is not working like that....only the if part is working[CODE] if(isset($_REQUEST["update"])) { $uploadedfile=$_REQUEST['uploadingfile']; $upload="comphoto"."/". $_FILES['uploadingfile']['name']; $filename=$_FILES['uploadingfile']['name']; echo $filename; move_uploaded_file($_FILES['uploadingfile']['tmp_name'],$upload); if($filename!="NULL" …

Member Avatar for nav33n
0
126
Member Avatar for theimben

Firstly, can I just say. I know this is really badly written but its to the best of my ability. Right, on index.php it makes a query which should go to search.php. Search.php handles everything. It makes a request to ajax.php which makes the request from the database. The problem …

Member Avatar for cwarn23
0
95
Member Avatar for Trogan

I will be needing to use PHP and MySQL to create a small application. But I need some help setting this up. I need to create a database for my application. I went to mysql.com, but couldn't determine what application I needed for creating my database. What do I need …

Member Avatar for FlashCreations
0
220
Member Avatar for chicago1985

I have a PHP (version 5) site on a Windows server that allows uploading of files into our Windows server. I currently allow the user to upload up to 10 files at once. If users upload files as big as 20 mb or more slows the upload process down. Should …

Member Avatar for shadiadiph
0
114
Member Avatar for qwertyas

I am new to sockets and fsockopen(). I am trying to send SMS using a gateway. But the fsockopen always shows the following error. Warning: fsockopen() [function.fsockopen]: unable to connect to alertbox.in:80 (A connection attempt failed because the connected party did not properly respond after a period of time, or …

Member Avatar for kokoro90
0
112
Member Avatar for danovics

Hi, i'm totally newby here and with php/mysql too. I have a form with some textboxes and checkboxes. The form action is: $_SERVER['PHP_SELF'] . '?changes=1' I want to give a possibility for the user, to change the values in them. So submit button when the submit button is clicked the …

Member Avatar for danovics
0
70
Member Avatar for MWeber

Hello, can you help me by my Site? [URL="http://www.huette-walddorf.de"]Link[/URL] or [url]http://www.huette-walddorf.de[/url] My Counter is sometimes away! Greats, M. Weber

Member Avatar for almostbob
0
91

The End.