39,402 Topics

Member Avatar for
Member Avatar for Zack_Grindall

[CODE]RewriteEngine On RewriteRule ^admin/([^/]*)/([^/]*)$ /admin/2.php?mode=$1&id=$2 [L] RewriteRule ^([^/\.]+)/?$ /display.php?page=$1 [L] RewriteRule ^([^/]*)/([^/]*)$ /display.php?group=$1&page=$2 [L][/CODE] I need some help with my .htaccess file. The bottom 2 rewrite rules work perfectly however the first one is causing issues. Basically the last 2 rules work like this: domain.com/page domain.com/group/page I need the first …

Member Avatar for codejoust
0
78
Member Avatar for angini

Help! I am working on a wiki which is embedded in one major frame. It looks like all of the wiki was set up right but then they bought the URL and dropped a frame on top in order to reference the new domain name in the URL. However, the …

Member Avatar for angini
-1
133
Member Avatar for mr.dangerous

I am able to insert MP3 files on web page but I want to display a list of 10 songs and user may select anyone. The selected song must be played in the player on the web page(I dont want separate player for every song. is this possible?) am posting …

Member Avatar for almostbob
0
94
Member Avatar for aditi_19

I have a question : When i combine php and javascript as in the code below, my current php page does not navigate to timesheet.php until i write document.write() in my javascript code? Why is it so? It slows down reloading the form and a white screen also flashes before …

Member Avatar for aditi_19
0
148
Member Avatar for gamshid

good evening i have a question plz . i wanna to display a link in my web site when the user click on it a pdf file is opened in the browser. but i dont want the user to print or copy or use "save as" properties is there are …

Member Avatar for almostbob
0
1K
Member Avatar for abhi.agrawal87

I have been using class.phpmailer.php script for sending mail from localhost without smtp server. Everytime i try to send mail from my localhost then following error is generated: [COLOR="Red"]Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use …

Member Avatar for codejoust
0
141
Member Avatar for jhanjon

I have the following code to fetch images from an SQL data where a "gallery" id is set and a "artworks" id is set. BTW the "artworks" is really the images which I want to display. I am able to display the first image OK, however the "next" and "before" …

Member Avatar for network18
0
149
Member Avatar for muralibobby2015

hello... i want to do "images and text" which is in database...that content fetch in user's side....but sliding problem occuring...for example i have 5 images and 5 descriptions is der..so i want to show image[1],description[1] after some milliseconds image[2],description[2] .....etc like this...but all images are displaying once..that is my problem.. …

1
94
Member Avatar for dudegio

Hello guys! Anyone that has an idea on how to store audio files in any format in MySQL database and downloading them when clicked during the retrieval or display of the said audio file, please help me. I've been looking it in the internet but mostly just storing images and …

Member Avatar for vinay1989
0
94
Member Avatar for masocha

Can anyone tell me where l can get an open source Enterprise Architect software or similar UML modeling tool.

Member Avatar for Ramesh S
0
83
Member Avatar for Taavi

Hello! I have been trying to make a news script where you can edit/delete news. I've looked for tutorials and tried to make mine too. But I still have some problems, and I don't know what is wrong. So, I'm posting the code here, maybe someone can help me. [code=php] …

Member Avatar for Taavi
-1
149
Member Avatar for Rakesh Nagekar

Hello Good Afternoon guys I am looking for querystrings can anyone please give details on that i looked on google but did not get effective results so please helpme Thank u in advance

Member Avatar for network18
0
112
Member Avatar for coboldeveloper

I am also having problems in mail(). My php.ini values are (sendmail_from:"no value", SMTP:"localhost", smtp_port:"25"), my code is very simple and is as below - [code=php]<html> <body> <?php if (isset($_REQUEST['email'])) { //send email $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; if (mail( "kathie_hkg@yahoo.com", "Subject: $subject", …

Member Avatar for network18
0
94
Member Avatar for vidhyaponnusamy

Hi I got the current time as follows $time=date("h:i:s") i got the result as 02:38:05 i want to add 10 mins with this time how can i add that,help me out Regards, Vidhya

Member Avatar for network18
0
89
Member Avatar for Sheridan

Is there a way of disabling the browser back/forward buttons using PHP? Or is there a way of destroying the memory or history that the back/forward buttons use to traverse previously visited pages?

Member Avatar for network18
0
68
Member Avatar for mindfrost82

I have a PHP script that is a combination of a purchased script and my own programming. It is a mess right now and not easy to work with at all. Basically, the purchased script is one that will merger PDF files into one and let the user download the …

Member Avatar for network18
-1
131
Member Avatar for sanjaypandit

[QUOTE]hi friends i am making a website depend on review on tourism places, but in it some weather data is needed according monthly for e.g. see this link [URL="http://www.holidays-uncovered.co.uk/united-kingdom/england/london.html"]Weather Link[/URL] in this u see there is a chart of avg. weather conditon of london city. i want show these data …

Member Avatar for network18
0
216
Member Avatar for michael123

how can I pass GET url which contains character "?" to php file. for example I have url: [url]http://www.mysite.com/file1.php?string=file2.php?a1=1&a2=2&a3=3[/url] I want to pass all string "file2.php?a1=1&a2=2&a3=3" into file1.php now on file1.php, if I use $v=$_REQUEST['string']; echo "$v"; I only get file2.php?a1=1 it lost rest "a2=2&a3=3" how can I fix this …

Member Avatar for network18
0
120
Member Avatar for itsrahulk

hi folks, my reservation table is as below. [B]tbl_holiday_booking[/B] booking_id property_id checkin_date checkout date i am taking checkin and checkout date as dd/mm/yyyy please hellp me to check availability for the property in the above table. Thanks

Member Avatar for network18
0
68
Member Avatar for Markstein

Hello, I need to have users fill out a form before they are granted to download any given file to generate sales leads. I do have a script which was custom made but am having some issues with it. I am wondering if anyone knows of a service (or script) …

Member Avatar for network18
-1
1K
Member Avatar for digtokiller

Hello people, i need a code so when someone join my site, the site resize after the size of the screen on the coputer joining. cause i have seen my site on a small screen and big screen but they look different... sÃ¥ if the site could resize so it …

Member Avatar for digtokiller
0
122
Member Avatar for smvec

hi.. im dynamicelly creating text box in a html file using javascript.. [CODE]<script> function create_input_boxes() { if(document.getElementById("name0")) { return true; } var boxes=""; var num_boxes=document.getElementById("num_boxes").value; if(num_boxes) { for(var i=0;i<num_boxes;i++) { boxes+="<input id='name"+i+"' name='name"+i+"' value=''><br />"; } document.getElementById("textbox_container").innerHTML=boxes; } return false; } </script> </head> <body> <form id="theForm" action="dynamic.php" method="post" onsubmit="return create_input_boxes();"> …

Member Avatar for smvec
0
89
Member Avatar for SouthBay619

Does anyone know of any new shopping cart solutions for small to medium sized businesses? I am a web developer and over the last couple of years I have set up a couple ecommerce websites for clients. I have used osCommerce, Zen Cart, and X-cart for previous projects however I …

Member Avatar for codejoust
0
66
Member Avatar for valonesal

Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url. Example is by entering mywebsite.com/index.php?dog=dogs it returns "a dog" mywebsite.com/index.php?dog=littledog returns "a little dog" What I would like …

Member Avatar for Atli
0
95
Member Avatar for Reliable

Good afternoon all, I'm at the beginning stages of learning PHP. I'm trying to understand passing in functions. I have a video lesson so I can see what is being explained but for some reason i am still not getting it. [CODE]<?php function hello($word) { echo "Hello {$word}!<br/>"; } hello("Daniweb"); …

Member Avatar for Reliable
0
71
Member Avatar for Venom Rush

Hi everyone I've been googling my time away trying to find a resource that explains how many php uploads http can handle at once and any extra info on the process and limitations etc. Does anyone have a link they could share. Google isn't being very helpful (or the problem …

Member Avatar for Atli
0
138
Member Avatar for enzo420

hi hows it going? ive tried loads of times to fix this problem but its not happening here is the registration page code [CODE]<div id="apDiv6"> <form name="register" method="post" action="regform.php"><p> <input type="text" name="username" id="username"> </p> <p> <input type="password" name="pass" id="pass"> </p> <p> <input type="password" name="pass2" id="pass2"> </p> <p> <select name="usertype" id="usertype"> …

Member Avatar for enzo420
0
162
Member Avatar for genieuk

Hi, Ok.. i have some pages on my site that has a link like [code=text]<A HREF="<?php $websiteaddress ?>/webbuilder/downloads/download.php?filename=age_verification_popup.zip">Download</A>[/code] if you look carefully you will see using get in my below script i get the filename in this example [b]age_verification_popup.zip[/b] This is then sent to this script. [CODE]<?php @include ("/home/sites/genieuk.co.cc/public_html/includes/global.php"); // …

Member Avatar for Atli
0
124
Member Avatar for nadnakinam

Hi to all, page1 -- login page page2 -- secured page 1 [COLOR="Green"] No Problem[/COLOR], If user logged out successfully using logout button. session ends and doesn't allow user to go to secured pages. But... [COLOR="Red"]Problem[/COLOR], if user press backspace or back button in browser staying in page2, directed to …

Member Avatar for nadnakinam
0
252
Member Avatar for jay_412

hi guys,,, Can Anyone help me in my problem. I want to exclude the second and instead i will use the Am/Pm. I did exclude the seconds but I can't include the AM/Pm function. I used this code [QUOTE] <?php echo ('A'); ?> [/QUOTE] but this is static.. how could …

Member Avatar for network18
0
124
Member Avatar for lim dara

Is there anyone could explain me about how to write login php code by using build-in function of authentication. I have learn it from a book, but it have been done.[code][/code]

Member Avatar for network18
-3
74
Member Avatar for ayesha789

Hi Please tell me how we can search PDF File , which is stored in folder like C:\Folder and then show in show.php page as dynamic link. also Upload new PDF File to Folder Please tell me how?

Member Avatar for kvprajapati
0
868
Member Avatar for bombixallan
Member Avatar for bombixallan

the photos on my friendster don't show,they are blocked. what should i do to unblock them. also, when i browse my friends photo albums they don't appear.....pls help me unblock those photos,,,,tnx

Member Avatar for network18
-1
50
Member Avatar for ttchiwandire

Hie everybody, Iam trying to insert multiple rows into a table at the same time. The form fields of the rows are defined as checkboxes in html. For example it requires a person to enter his qualifications by ticking appropriate checkboxes. Now a person may tick more than one checkbox, …

Member Avatar for network18
0
78
Member Avatar for lcyew

Hi! I am developing a php site and required to export the .php files to HTML, PDF, EXCEL, TEXT, CSV, ODS and SXC files. The problem i'm having here is that i don't know anything about exporting files. How should i start? Could anyone provide some steps to help me …

Member Avatar for lcyew
0
1K
Member Avatar for AdventDeo

Is there any way to do this? I have multiple drop down lists and depending on which drop down is selected I want it to unset some sessions. Do I need to use AJAX for this?

Member Avatar for AdventDeo
0
218
Member Avatar for nadnakinam

hi to all, i need help from you all... i need to search in database and to display the match records, say if search results are 28 in number then i need to show 5records/page (like this records 1-5 in page1, 6-10 in page2.......26-28 in page6) with some options like …

Member Avatar for glycerine
0
127
Member Avatar for achiman

I am trying to build a small website using PHP and MySQL serve as the database. Can anyone tell me how to connect to MySQL database using PHP and is it similar to using Access because I have succeeded in doing that. Thanks

Member Avatar for Atli
0
118
Member Avatar for deepika1

i m using a open source cms (PHP) when ever i try to logout. i get loggged out but the screen shows as if still logged in. when i refresh it gets directed to home page. when i press back i get the history all the people logged in. how …

Member Avatar for leviathan185
0
62
Member Avatar for SKANK!!!!!

help. [URL="http://us2.php.net/trim"]manual[/URL] says: [CODE]$hello = "Hello World" $trimmed = trim($hello, "Hdle"); var_dump($trimmed);[/CODE] when used turned out to be: [CODE]string(5) "o Wor" [/CODE] i just want to remove all the x's from my string. its not working for me. $string = "faxtxxx"; does not come out to be "fat" it comes …

Member Avatar for SKANK!!!!!
0
80
Member Avatar for SKANK!!!!!

i have this script it wont display the page if i have over like 30 things in an array. wtf but it will display if theres only like 20. does anyone know what i can use instead of array() because i have like 100 things i need to use in …

Member Avatar for SKANK!!!!!
0
137
Member Avatar for gptArun

Hello there, How to setup Sandbox Paypal subscription button code? i googled out but only found code for paypal.com not for sandbox.paypal.com .. thanks , Arun

Member Avatar for blocblue
-2
221
Member Avatar for emhmk1

Hi i have another query i would like to run by you. I have a javascript code which i would like to implement in my site but i have come across an error. The JS generates a new input text field once a button is clicked but i'm uncertain of …

Member Avatar for emhmk1
0
102
Member Avatar for baltazar

Hi, I'm trying to split a string with multiple delimiters using the PHP preg_split function. I am trying to separate the numbers from the units in terms like 172px, 100%, 2.5ems etc... i.e. after I run a preg_split on 172px I want the resulting array to have array[0] = 172 …

Member Avatar for baltazar
0
1K
Member Avatar for jen140

Hello all. I have a string that will contain the username, for the security reasons i want it to be checked it if its diferent from the specific charset. I think it could be done by looping the check 1 character from the username at a time till the end …

Member Avatar for EvolutionFallen
0
99
Member Avatar for kira4

This is the first page of my website(AssociationAdd.php). When I clicked the 'Add' button, it shows that : [COLOR="Red"]"Notice: Undefined index: T2 in c:\easyphp1-8\www\efiling\associationaddprocess.php on line 19 Notice: Undefined index: T1 in c:\easyphp1-8\www\efiling\associationaddprocess.php on line 20"[/COLOR] [CODE]<html> <head> <meta http-equiv="Content-Language" content="ja"> <title>Index</title> </head> <div style="position: absolute; width: 1146px; height: 842px; …

Member Avatar for nav33n
-1
140
Member Avatar for marjan_m

Hi, I need to know about creating dynamic slide show or dynamic photo gallery in php. Can any one please help. Thanks Regards,

Member Avatar for network18
0
274
Member Avatar for dalip_007

hi all Can anyone please tell me how to take screen shot of web page using javasctipt. Even is it possible Thanks

Member Avatar for gaz
-1
135
Member Avatar for nadnakinam

hi i'm using [B]wamp server 2.0[/B] in that, php version 5.3.0 MySQL version 5.1.36 PhpMyadmin 3.2.0.1 MySQL client version: mysqlnd 5.0.5 while uploading my files on to server (plesk control panel) there i have these... [B]Local host[/B] MySQL version: 5.0.45-community-nt Protocol version: 10 Server: localhost via TCP/IP User: username@localhost [B]PhpMyAdmin[/B] …

Member Avatar for nadnakinam
0
274

The End.