I registered a domain and am setup with a hosting company, one thing I am trying to do is upload a file greater then 2M, I was able to modify a .htaccess file to modify the upload_max_filesize...
Witch database can I use with PHP to make a tree structure (Like folders tree)?
What is the best way to upload a file?
Hi there,
I want to load mysql data into javascript array to use it with javascript. I use the following script and I tried almost everything I can try.. Nothing works. Basically what I want ...
Hello,
I have some code that will send an email with an attachment, but the attachment has to be on the server, So i have tried to merge this code with some I downoaded that is supposed to up...
Greetings,
Is there any way that I can prevent access to the secure part of my site through the URL? I only want the user to be able to navigate the site by way of the interface, without bei...
I'm trying to create a html form like this:
form name="form1" method="post" action="?="Main.php"?>" >
table width="75%" border="0">
tr>
td width="32%">Main (i.e. tblMain) :/...
I am able to send mail using mb_send_mail to both windows and macs that will be displayed in Japanese. However, how do I change the Content_Type header?
If I add
$mailheaders .= "Conte...
is there a built in PHP function to perform a case-insensitive str replace or do I need to write my own?
I'm having a problem with a PHP script that utilizes the XQueryLite object. Here's the script source:
<?php
$artId = $_GET['artId'];
$testQuery= '{
for $a in document("news.xml...
I have a form with a variable number of checkboxes and am unsure of the best method of reading values submitted by a user (see code below).
Problem is that I'm submitting several querystr...
I have some serious problems with PHP sessions ;
I have a website - it has a login page - a main page and then several others. The users password and username is verified on each page and ...
Someone help please.
I need to list out the highest number of the fields I have in mysql table. All these fields will have a number value inside, I need to list out the top 5 highest number...
Hi,
I want to create the possibility to send mail from my webpages. Therefore, I have to use the smtp-server that is installed on the server where my pages are located.
I have checked if...
I'm retrieving a string from $_POST and when I echo it, and it has an escape slash in from of the apostrophe. How do I get rid of the escape slash, and what other characters will be treated t...
Hello.
I am attempting to make a upload script using SCP. I have tried using the system() and exec() commands, however they do not work as they run the code on the server, which obviously fai...
Hi
We are using GNU emacs for all of our editing over ssh. Languages are PHP, SQL, Smarty templates and HTML of course.
Emacs copes well with all using php-mode, sql-mode, and sgml-mode...
I am using Apache, PHP, and MySQL on a Linux server. I want to link to a particular place in a web page that is built in PHP. Here is my link:
<a href=quick_search_results.php#anchor8?act...
I have listed files and directories with this script:
$dir = 'folder1';
if ($dhandle = opendir($dir))
{
while (false !== ($file = readdir($dhandle)))
{
if (is_file("$dir/$file"...
i've got an xml file i want to edit using php, i've got the xmldom extension installed...
i know how to create a new xml file, and how to write to one, but the problem is it writes at the e...
Hi
The below code (I''m not a programmer) does not seem to allow for 31 day months.
Can someone provide a fix. It appears, on the site, that it only creates dropdowns which only will...
Good day,
I am having a problem calling a PHP function from Javascript(JS).
Now I know that JS is not ment to interact with PHP, but the problem is, I'm trying to do a SAVE button on my...
I am posting 2 questions refering to imap functions here is the first one:
I have been reading the php manual and trying to figure out how to grab all attachments from a mail: this is prov...
I have the following code...
<?php
if ($handle = opendir('C:/')) {
echo "Files:<br>";
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {...
i follow the following tutorial
http://www.sitepoint.com/article/1195/2
---------------------------------------------------------------------------------------------------------
<?php
i...