39,402 Topics
![]() | |
I am currently working on a client management system for a college project. I am planning to include a feature to allow users to upload files for a specific project. All files will be specific to one project and clients can only view files for a project that they are … | |
hi , please can any body help me. i am making a website so i am using the combination of mysql and php.there is a error in fetching the field from url.i have made a hypertext as C LANGUAGE and behind this url is <a href="indexblank.php?course=C LANGUAGE">C language</a> now on … | |
OK here is a piece of code I've been working on that actually logs you in and returns what ever Curl sees except i have no idea how to make Curl function correctly with websites that require cookie authentication correctly, can anyone help? =/ | |
theres nothing happen everytime i click delete. here's my code admin.php [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("reservation", $con); $result = mysql_query("SELECT * FROM guest order by code asc"); mysql_close($con); <script> del=function(code){ m = confirm("Are you sure you want to delete this … | |
Hi all, My code lists items based on the logged in users id. when listed these items have an edit function. When the use clicks edit, the url holds the id for that item. My problem is that its possible to change the url to show details of something thats … | |
Hello guys, am developing a web application that needs a calendar that one can click and the that date is stored in the database, any help?? Thanks Resh | |
i have multiple entries with starting with the letter 'a' .. but the query below only displays one result. [CODE]<?php mysql_connect("localhost", "Master", "pword"); mysql_select_db("db"); $letter = htmlentities($_GET['search']); $user = mysql_query("SELECT DISTINCT keywords FROM Stacks WHERE keywords LIKE '$letter%' ORDER BY keywords")or die (mysql_error()); while($rowz = mysql_fetch_array($user)){ $keyword = $rowz['keywords']; $name … | |
Hello Everyone i am here to get help from you to make a php website where people can post videos which are hosted on different video hosting websites and also earn revenue from their sharing.... The website will look like [CODE]http://www.e-soft24.com/scripts/video-embed/[/CODE] And Form Will Look Like This One I Found … ![]() | |
Hi All, How you can help me with something. when a user logs in and is successful, i want the value of the user "type" to be stored in a session, which is then passed to the "login successful" page where i intend to use a switch statement to determine … | |
Hi, how could i measure a streaming time of video? (i have embeded a video to my site and i would like to measure the streaming time of video) Thanks in advance. | |
hello when i run this code, i get this error : Parse error: syntax error, unexpected T_PRINT in /home/a9017639/public_html/mzrt.php on line 19 [CODE=php]<html> <head> <link type="text/css" rel="stylesheet" href="xxxx.css"> <Title>xxxxxxxx</Title> </head> <body> <P> <h1 style="text-align:center;font-size:60px">xxxxxxt</h1> <BR CLEAR=ALL> <HR> <div class="tres"> <?PHP $zacc=0; if(isset($_POST['submit'])) { $animal=$_POST['animals']; } ?> <h3> Selected Animal:<? PHP … ![]() | |
Hi I want to make form dynamically by just passing array of stuffs. I have tried but cannot may be due to my limitation in PHP. Here is what I have so far. Please help me! [CODE=php] class MyForm{ private $formArray; //pass array to build a form in form of … | |
Hey all, I'm rather new to PHP but learning fast over the last several weeks, (so please pardon my ignorance) I've created SQL db, a number of php pages & scripts which interact with it, and have created an html mainpage. The main page is going to act as a … | |
Hi All, I am trying to the following for an appointments system. So far i am able to add to my Sql table 'bookings' values i select from a drop down stored as $day, $month, $year and $time. I want to be able to do a check nefore a write … | |
![]() | Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not … ![]() |
i have a page [QUOTE]edit.php[/QUOTE] and i wanted to be like this edit.php?at=profile edit.php?at=upgrade edit.php?at=im edit.php?at=delete and if there is no at='something' to include default theme(html) [CODE]<?php include "../app.php"; include $basepath . "inc/PasswordHash.php"; include $basepath . "inc/functions.php"; include $basepath . "inc/adodb5/adodb.inc.php"; // Session Start $adodbsessionstart = new UADODB; $adodbsessionstart->adodbSessionStart(); $db … | |
Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' … | |
I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get … | |
Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& … | |
guys, good morning...what are the requirements that must be installed for you to call java class using PHP?? thanks for the reply ^_^ | |
[code] $tags = get_meta_tags($url); $keywords = $tags['keywords'];[/code] this get me the keywords for a website. Just say there are 5 keywords in that one variable. e.g. apple, banana, orange, pear and coconut. how do i insert these 5 keywords in that one variable($keywords) into seperate rows. So insert first keyword … | |
Hey Guys, I have an If statement in one of my php files. I want to send an email to my client anytime it IsApproved. So how do I make it send an email to the client when it is approved? Here is some of the code, the first if($response->IsApproved … | |
So I have a bit of a problem... A la I am posting on this forum. If you will bare with me for a short narrative I can explain the situation. Currently a department in my school is involved in a Weather data collection project which they have asked me … | |
Hi all, How to retrieve client's ip address, mac address, and others hardware address ? Also, how to detect user end device (whether computer, notebook, pda, ...) ? Is that all possible ? Thanks, :) | |
Hello Everyone i need your help in making this code kindly help <img src="http://i45.expamle.com/35i4o5t.gif"> i want this image to load in a page by calling it like http://www.example.com/tp.php?code=35i4o5t.gif but the problem making area is that the server information changes on every image can someone make it for me ...... <img … | |
how to write a php code such that a link specified must directly display the contents of the link in the browser..?? thanku, ![]() | |
No one has an answer to a problem I thought would be easy. I guess it is too complex. That sucks. If you think you can solve it I posted it here on dani web and the link to the thread is below: [url]http://www.daniweb.com/forums/thread258226.html[/url] or [url]http://www.daniweb.com/forums/thread258197.html[/url] | |
I have this contact form that emails inquiries from a web site. From time to time a email like this comes through. [QUOTE] From: gbvxits Email: [email]vauuol@wehwmw.com[/email] Inquiry: 9a8Lje gojaxfuklmfu, [url=http://cpjnzhrwlhwq.com/]cpjnzhrwlhwq[/url], [link=http://vshgvcdvxjea.com/]vshgvcdvxjea[/link], [url]http://sfiipmxeqijr.com/[/url][/QUOTE] What is the point of this? Why would they put the gibberish and URL stuff in there? ![]() | |
Hi people, I would like to send automatic email reminder to people, by calendar preset dates...The peoples email address are taken from 2 diffrent tables.. How do get the email add from the different tables and send automatic email reminders on system date... I think its somethink lik retreive all … | |
I have a form with 2 textboxs. with js handling [CODE]<script type = "text/javascript"> function autofill(which) { document.getElementById("text2").value = which; } </script> <input type="text" name="text1" onblur="autofill(this.value)" /> <input type="text" name="text2" />[/CODE] So According the above js, when user type some thing on text1 text box automatically update it to the … | |
![]() | Something odd going on with str_replace. When I replace a set of double characters with another set (double characters), I get a text length increase of 1. [CODE]$gw = array("ll","ch"); $gw2 = array("lž","cž"); $cw = array("â","`"); $cw2 = array("â","à "); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); … ![]() |
Hey guys, I have a problem, my process_transaction.php page was working fine before I added some code to it....but I need that code to work. I added an if statement that should send an email to my client's once my process_transaction.php has determined whether or not the payment has been … | |
I am having two problems dealing with images. I am trying to make an uploader for the user to post picture of a meal or food item. I have the uploader to show and the browser open but it does not go to my databasebase name "recipe" to the table … | |
Hi guys, I am having difficulties to purchase a HONEST and DECENT Linux hosting for my PHP + MySQL website. I am asking you to suggest me one or two based on your experiences because most of hosting companies offer very exciting stuff but most of them are hustlers (I … | |
I'm trying to add the "Amazon Style Drop-in Content Box" from the Dynamic Drive site into a Joomla template. I don't know Joomla very well and I've followed the tutorials. Basically, this drop in box contains a SWF file that references an FLV video. The background is transparent and I … | |
hi all, I have a php script that saves what the user types in into a text file using fwrite, and displays it on another page using file_get_contents. When putting in a pound sign (£), it saves the following to the text file: £ Any idea how I can stop … | |
Hi Guys, probably a easy thing to do but I ve scoured the length and breadth of t'internet to no avail. I am a newbie to php who is looking to finish a site off in php. What i will have is a mysql table with id image title url … | |
Is there a way to do Audio and video conferencing using php? Is there ant open source tool through which I can do Audio and video conferencing using php from my Web site? | |
Hi Need some advice - Ive been going more and more OO in my coding, just coming into some best-practice issues... Lets say I have a User object, and the user has some contact details... whats preferential, to call the getUserDetails() and include the layout HTML in that method, or … | |
Hi All, I have a number of different tables storing various bits on information. Ib wanting to create a control panel for it, which will initially give a record count for each table. How can i run queries from multiple tables in one connection? Ive tried connecting then running a … | |
Knows the code importing file in mysql using php? that would save all the data saved in excel to mysql database..tnx GOdbless | |
hi all I took PHP news script from Turkish site it is good news script but it has a little disadvantages for example i fill all regurired fields and submit it shows first recently added news and picture one in a large format and one in a little format but … | |
Hi, I''m trying to learn how to send emails to registered users with php mail function. Been online a lot and getting confused. I was wondering if anyone could explain how the set up is done and what is needed to accomplish this task. Any input on this topic would … | |
I'm a beginner in php this is my upload form which uses php_self.. there's a parse erro in line 33...... which is I don't know why... can anyone help me <?php $target="upload/"; $basename=basename($_FILES["file"]["name"]); $target=$target . basename($_FILES["file"]["name"]); if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; … | |
Hi Guys, Hoping someone can help me here. I am building a sports supplements e-commerce sitev using php and a mysql database. As such when someone goes to buy an item they have multiple choices i.e size and flavour of a certain product. Someone selects a product they want to … | |
I had never used this new model of software development but i was reading about it. it sounds good. Database in one level, code and clases in other level and views in third level. Im thinking to migrate my application M-V-C. Somebody have experience with it? | |
I am trying to write an if statement for image in my database. Example: if no image is relating to the recipeid do not post a blank image box leave blank as if there is nothing there..only show image for recipeid that has a picture. This is my code that … | |
Hello, I'm having this error in a new hosting where I just uploaded my website. I didn't have this problem in my old hosting: 404 Not Found Not Found The requested URL /cgi-bin/php/myscript.php was not found on this server. Do you know what could be causing the error? It is … | |
hi all I need to understand PHP __SET and __GET functions with more explanatons i read before but i dont understand pls help me i will your responses thanks for attentions | |
Hi guys, I'm pretty much self taught, and I'm working on a site that stores mysql data using php. In the site I previously did, I used separate pages with a query relating to what I wanted to show, eg. a page called Manchester.php that displayed all records with an … |
The End.