39,320 Topics
| |
Hi everybody, I have built a website: ivoiresearch.net. in php. I have problem getting Internet Explorer read all charset. For example I write "Liberté, Abidjan, Ivory Coast" in the texbox FROM and "Cité Fairmont, Abidjan, Ivory Coast" in the textbox TO. I can get relevant information from the navigation "Destination" … | |
Hello,i want to hide my actual download link from my website. when anyone click the contents they got direct download link. here is my code [CODE] $get_path=explode("/downloads/",$path[0]); $filename=$get_path[1]; $download=$get_path[0]."/downloads/".$filename; echo "<a href=\"".$download."\">Get File</a>"; [/CODE] they got direct link like this [QUOTE][url]http://localhost/downloads/cpanel.gif[/url][/QUOTE] i want to make it like [url]http://localhost/downloads/6885a6c38d6e9bcc201326902269658a[/url] (its md5) … | |
Is this possible, and if so, how do I get this working? If datetime from table is greater than another datetime from table, then run query. so pretend its: $date1 = $row["date1"]; (june 19th) (i have a query on the page were it updates the day everytime you visit, NOW()) … | |
Help please, I want to make a system so that when a thread hasn't been viewed by you, or if there are new posts in a thread that you haven't read, it will show "Unread", but when you view the new posts, or view the thread, it will show "Read" … | |
Hi there, I have built a simple CMS that is generally working well, the issue I'm having is with building dynamic navigation. On the site the content for the individual pages is fine but getting the menu data and creating the menus is causing problems. I have 2 possible structures … | |
Hi all, i need a little help with some code that should display a gif image while a page loads. i have a php page with a link that users can click and it should load a page via ajax as an overlay over the current page. the problem is … | |
hi i was wondering how i can show my site bar on a external link my site sends a user to. A good example of this is how digg shows a bar at the top after being sent to a different site. Please let me know steps on how i … | |
I want to make a dictionary..If user enter first character in text box it give suggestion words like when we write in google search box it give us suggestions. so can any one help me to do this.. I did little bit in AJAX but still i am not successed … | |
hi, i have created this class: class mostest extends mosDBTable { var $id=null; var $id_cliente = null; var $nome_cliente = null; var $data = null; var $hora = null; now i want creat a function to check if all variables is created in a table. for example i want return … | |
I'm new to using Temporary Tables in PHP/MySQL. I wrote a very simple test script just to see if it would work, but the SELECT query is giving me a [B]mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given[/B] error on the last line, and I'm not sure why. $dbc … | |
Hi community, I have a PHP page with a table in it that I want to export to Excel. I have seen multiple ways to export an entire PHP page to excel, but I only want to export the table within my page. Is there anyway to specify what content … | |
[CODE]<a href=\".\/(viewtopic.php\?f=15&t=[0-9]+)\" class=\"topictitle\">([#\w\s_\-!$%&()?.,'\":;{}\/\\|’=\[\]+\–\â„¢ ]+)<\/a>[/CODE] i have this regex ina ction when i use it in software like regex buddy its ok but when i use it in php it just dont work it .throw no error at all..but it produce zero result. it is made to match this [CODE]<a href="./viewtopic.php?f=15&t=119871" … | |
I need to make a form with a few options could be radio or drop down, ex a, b, and c.. and when one is selected I would have a if command that would give you another set of options like if option "a" is selected then in the same … | |
| Hi there, I've found quite a nice flash / javascript / php based multiple image uploader called FancyUpload. [URL="http://digitarald.de/project/fancyupload/"]http://digitarald.de/project/fancyupload/[/URL] I've got it working fine, however i need to be able to insert the data into a database Below is my database structure: photo_ref event_ref photo_thumb heat Basically i want to … |
im testing a sendmail function in PHP. The first, i used mail() function, this is my code: [CODE] <?php $to="meo.spt@gmail.com"; $subject="This is test mail"; $message="Hello, this is test mail from Viet May Cor. \n Best regards!"; $from="meo_spt@yahoo.com"; $headers="From: $from"; mail($to,$subject,$message,$headers); ?> [/CODE] and i got an error: [COLOR="Green"]"Warning: mail() [function.mail]: … | |
Thanks, but it is not what i was expecting. I I am getting close but i still have a problem let's say [CODE] $reminder ="300"; // 5 minutes * 60 seconds (to convert to seconds) $timefromreminder = date('h:i:s', strtotime("-$reminder seconds")); // this will give 5 minutes minus the current time … | |
what kind of error is this? my page was just running fine. i did not change anything neither the location of the requested file. Warning: require_once(../php/main.php) [function.require-once]: failed to open stream: No such file or directory in.................... line 7 Fatal error: require_once() [function.require]: Failed opening required '../php/main.php' (include_path='.;C:\php5\pear') in..........................line 7. | |
| Hi All. I am currently designing a photo sharing website. I need to make a script that deletes the image from the folder it is stored in and also from the database. I have done the database bit but i cannot work out the deleting from the folder bit. Any … |
I am currently working on an admin only page that allows the admin to view all of the websites members. On this page, the admin can edit any of the information for the users (and change it in the database), delete the users, ban the users, and sort the users … | |
I am working on a code which will send users reminders like 10 minutes,2 hours, a day, one week before their event is due. I will like to get the datetime after the reminder has been removed from the startdate [CODE] $startdate = "2010-07-10 01:00:00"; // date chosen by the … | |
Hi aytul here i m having a problem with my php script actually i need to incorporate variable key lengths in my encryption technique but the following code give me the same keylength in all the cases plz tellme where to change in my script to get variable key length. … | |
[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE] | |
hello, can somebody tell me why when i use a link on <form action="http://www.mysite.com/login.php" method="POST"> the login script won't work :( first i used only action="login.php" but now i need to use the link because i want other login forms on diferent pages (directory) like [url]http://www.mysite.com/news/[/url] and i can't put … | |
I have data.sql file and there is 151262 insert statement in SQL file. but while i try to IMPORT it in MYSQL database this give me following error. Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\phpmyadmin\libraries\import\sql.php on line 111 Pls give some solution for this Problem. -keval | |
Hey all, I'm having a problem with my WordPress contact form. It is a script I edited from a tutorial I found, and it should be working right. I have a jQuery script that is supposed to help validate it and process it without page refresh. The problem is that … | |
hi friends i made a web application using php and working fine. and i also developed the same site for mobile also. For that i made it as imageless and optimised. and i uploaded in a folder. now i just want to divert user who is using mobile to mobile … | |
Hi, I want to create a php code to see that on screen but there is a problem about `:` how can I characterize it on php code? Thanks | |
All, I've recently installed Apache version 2.2, MySql version 5.1, and PHP version 5.2.13 and am using Windows as my OS. I've gotten PHP to work on the Apache server, and MySql is working properly on its own. However, when I try to connect to a mysql database, I get … | |
Hi I am trying to print out the output from linux command in php. from the command line i am able to view the output, but when i run it from a browser there is no out put. anyone who can assist? [CODE] $ex1="ssh myname@server tail -10 /mnt/data/stat/status-rx.log"; $output1=`$ex1`; echo … | |
This page use javascript to be the login button, I don't know how to deal with it. <ul class="list all"><li class="item item-1 item-odd"><a class="thumbnail" href="http://www.xanga.com" title="Xanga.com - The Blogging Community"><img src="http://s.xanga.com/images/mainlogo.gif" alt="Xanga.com - The Blogging Community" /></a><div class="details"><div class="itembody"><a href="http://www.xanga.com/register.aspx"><strong>What is Xanga?</strong> Xanga is a community where you can start … |
The End.