39,320 Topics
| |
Hi All, Very new to web design and PHP, but I seem to be learning along the way. I am building a HGV Drivers website for a friend of mine for his business. On the homepage I have managed to echo text for my 'Latest News' section. I would like … | |
Hey guys, So I'm trying to make a website in php. I'm just wondering, when I click on a link is there any way for the text of the link to be put into a variable. Basically the user will select the name of a database(which is a hyperlink to … | |
I'm making my own website and from the website you can download some of my c++ games. on the website i have this code that writes in to a .txt file some info from the visiter like: ip, os , browser and what site did he/she visit. so ok i … | |
Hey everyone, I am having trouble accessing the web pages on my online server. On my local server, I access them using this URL(localhost/mvc/users/index) But this doesn't allow me to access the pages except for the config page which is on mysite.com/mvc Any help please? | |
Please give a image uploading script and displaying the uploaded images link in the same page. | |
I am not able to set php session for starting the session I am using below code session_start(); $_SESSION['username'] = $username; For checking the session I m using <?php if (!isset($_SESSION['username'])) { header('Location: index.html'); } ?> But the session is not being set as I am not able to grep … | |
I've created a **login script** using **PHP** that connects to a `users` table from a **MySQL** DB. It's very simple and currently is not encrypted (it will be before I take the site live...I'd love some suggestions on current password security features too). **My issue is that the username-check is … | |
Hey everyone, Does anyone know if there is a possible way of using an online Database without uploading the website files onto the server? Cheers, | |
In below code using i try to upload multiple files to remote URL. but only 1 file data only i am receiving. please help any one to resolve issue. Remotepage.php i am not getting sign,cheque file details [CODE]<?php function do_post_request($url, $postdata, $files = null) { $data = ""; $boundary = … | |
I am not able to post the new article on the website thats why i am directly contacting you if you can able to help me out with the following problems. I am student. I have a very simple assignment and I did do the assignment but the requirement is … | |
Hi This is probably a fairly easily solved issue but I am struggling at the moment. I basically just want to be able to search a database but with several different options, any of which can be used and any combination can be used. The options will be name, date … | |
So now my son is into PHP and so I bought a book for him, Head First PHP and MySQL and my son took the code and tried it. The main page is report.html. report.html:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" … | |
Hi all I apologies again in advance for the seemingly stupid question. I have tried googling this once but can't see to get the answer i'm looking for. Basically i have a form which can query the database depending upon what the user has selected. The trouble is if multiple … | |
Hi all I want to display image uploaded from a form in a div size of "width=235px and height=61px" with image good quality also(i mean not shrinked or stretched) **using php**. I'm uploading a image of size "width=452px and height=507px". I have tried the codes i found on internet but … | |
Need help with code i am trying to acheive upload of videos but when they are uploaded the file names need to be changed to have hyphens in replace of white space and still keep the exstensions. its proving difficult because once uploaded ffmpeg needs to read the output as … | |
I installed php 5.4.0 from source but phpinfo() still reports the same, old version. As does php5 -v . What did change to 5.4.0 is php -v . But my server seems to be using php**5**. How do I fix this? | |
Is it possible for me to use this code but change the date to a date from my database? // NOTE: the month entered must be one less than current month. ie; 0=January, 11=December // NOTE: the hour is in 24 hour format. 0=12am, 15=3pm etc // format: dateFuture1 = … | |
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Just fun to read. | |
Hi folks, I'm kind of stressed out right now about this class I'm taking, PHP and MySQL...for beginners :) Anyways, he has us read the Murach PHP and MySQL, and then afterwords we are to write code for an assignment. This week I had to create two files: book.php and … | |
| Dear friends, I am using shared linux hosting php5 enabled and also supports php4, I am using some .php files for my site, Now I want to edit my php ini, Whether I need to edit php5.ini or or php.ini. I do not know which type of php files I … |
How do I call a PHP string from within javascript? This is parts of my code but it isn't working... Thanks! <?php $URLString='MySite.html'; ?> <html> <body> <script language="JavaScript" type="text/JavaScript"> var popUpWin=0; function popUpWindow(URLStr) { if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); } popUpWin = window.open(URLStr); } </script> <script language="javascript"> popUpWindow(<?php $URLString ?>); </script> … | |
I have a form with shopping cart items that when submitted, goes to **phpcart-m.php** **phpcart-m.php** calculates the shopping cart items and sends to **phpcart.php?action=view** which displays all the items on a page called **display.php** The URL when **display.php** loads is http://mydomain/phpcart.php?action=view As **display.php** loads, I need it to perform a … | |
I want to auto load new data into my php page, my homepage is getting to long with statuses, so when people go to the home page i want it to only show ten, then when they scroll to the bottom of the page, it loads the next ten, and … | |
Ok I need help. I have a couple hundred databases, which are different cities, that I am trying to connect with one query. each city has the same Sports table in it. I want to put the 100 most recent results on one page . The code below gets the … | |
How to make Web Crawler to pull some information from site and that information put in xml tag ![Crawler](/attachments/large/3/Crawler.jpg "Crawler") In my pictures show site and where i put the information in tag. Please some help! | |
Hi, I have a lot of files i need to read with PHP script. All of them has the ANSI encoding type and, unfortunately, they contain special characters. Since my page is in UTF8, i need to convert the file content to UTF8 on the fly while reading them. What's … | |
Thanks to you guys, i now understand much better this whole thing, but i now have a problem where, after submit, i get the mysql error, "Column count doesn't match value count at row 1" my form code is [CODE=php]<?php // MySQL connection variables $host="server"; $username="Vetsform"; $password="saerverpassxduhsjdkasjdlcc"; $db_name="Vetsform"; $tbl_name="vetform1"; // … | |
Hello everyone. So I've been dabbling with mod_rewrite and I've run into a snag. I'm taking www.example.com/index.php?id=news and mapping it to www.example.com/news Now my problem is that I already have a news directory in my file structure and it's defaulting to the index file found there. What I'm trying to … | |
I am trying to setup a navigtion link section on my home page. what i have is a table called section in mysql and this is the way it is setup up. [CODE]+----+-----------+----------+ | ID | name | parentid | +----+-----------+----------+ | 2 | News | 0 | | 3 … | |
Basically I'm trying to get the post data from my form page to link back to my php page and it won't post for whatever reason. I've been scrutinizing my code and looking online at other posts but have had no luck. My html form: <form id="form1" name="form1" method="post" action="anthonyBook.php"> … |
The End.