mexabet 49 Good Learner

I started out by installing DreamWeaver 8 and buying this book: DreamWeaver 8 Beyond the Basics from linda.com. Combining both made my learning experience easier.
So my advice is this: Get an HTML editor like Dreamweaver CS3 and buy some nice HTML, XHTML and CSS books to give you more insight at every stage while using DW CS3.

mexabet 49 Good Learner

PomonaGrange,
For the file upload section of your script, take a look at this thread: http://www.daniweb.com/forums/thread136807.html

mexabet 49 Good Learner

A simpler way to do it is to duplicate the HTML file in Microsoft Word and save the file as a .doc extension. Upload the .doc file to your server. Put a Hyperlink on your HTML file pointing to the .doc file. A user can download it by just clicking the link. It works fine for me here, by just clicking the "Download User Guide" button.

hi
can u please tell me how to convert html page into word document so tat the user can download the page in html format

mexabet 49 Good Learner

I agree with you and I've been thinking deeply how and when I can be able to develop a unique platform to power my applications.

My opinion: real php programmers don't use frameworks, they build their own through time. Anytime I need a new widget, I build a class and add it to my library.

mexabet 49 Good Learner

A PHP framework is a web application development platform that helps you to write PHP programs. There are many PHP Frameworks. Popular among them is the Zend Framework. Visit the following link for more info: http://www.phpframeworks.com/

Hie everyone.

Its been a year now using PHP and i think i do understand it now but dont understand what a PHP framework is and what it is used for, how it works, and if its necessary to use it.

please help

mexabet 49 Good Learner

Bcc means blind carbon copy. To use it enter the correct email address for the blind carbon copy recipient of your message. To send an email to multiple recipients using Bcc, enter their email addresses, separate the email addresses with commas. Eg: john@yourdomain.com, emma@hisdomain.com, sister@herdomain.com. The use of any other punctuation mark to separate multiple email addresses will result in an error.

Blind carbon copies are usually sent to recipients who may need to read what is being written without the other recipients knowing that they are receiving the email. Thus "blind" means that the identity of these recipients is hidden from all other recipients of the email. Only you the sender and each "Bcc" recipient will know that he/she has received a copy.

mexabet 49 Good Learner

Hello ibrahimssani,

Since the issue of this thread has been resolved, you may want to mark it as "Solved", owing to the fact that you're the thread starter. Doing this prevents people from posting anymore replies to this solved thread.

mexabet 49 Good Learner

Hi Hassan,

So, you can see I'm good at pricing that type of script. I visited the updated version. It may have much more functionality, but Adsense is all over it, making it to lose its beauty. If this new site is going to act as a demo site for your script, simply get rid of the Adsense or at the very least, reduce it, drastically. Adsense is competing with your script!

Hi !

Thanks to everyone here. Yes i also considered implementing captcha in the registration page but most of the imagehosting websites do not have this feature, so i also decided not to include it. Actually i developed this script exclusively for one of my customers and i sold this to him for 50$ :)

I have developed a new version of this script with a more professional theme.
Here is its screenshot:
http://www.uploadpak3.com/freeupload/download.php?file=3074db2aecdc5666192943e95c585e0c

Thanks
Hassan Ahmad

mexabet 49 Good Learner

Hi ibrahimssani,

Here is the script to upload your files. You can edit the maximum upload size to suit your needs. Also you can edit the file types you want uploaded. I included .gif, .pjpeg and .jpeg but you may like to add more file formats.

This form compares the MIME type against others by using $HTTP_POST_FILES variable. If the file type doesn't match, the user is warned to choose another file format that is supported.

The following moves the file from a temporary directory into the uploads directory using the supplied filename:
move_uploaded_file($HTTP_POST_FILES,
"uploads/".$HTTP_POST_FILES);

As an added security, the move_uploaded_file() function checks to make sure the file was actually uploaded via PHP's HTTP POST upload process. This is a preferred function to copying the file and then deleting the original.

To prevent abuse of the upload processing script, it validates pressing the submit button. I hope this will solve your need.

<?php
$maxsize=28480; // Set the maximum upload size in bytes
if (!$HTTP_POST_VARS['submit']) {
    //print_r($HTTP_POST_FILES);
	$error=" ";
	// This will cause the rest of the process to be skipped
	//and the upload form displays
}
if (!is_uploaded_file($HTTP_POST_FILES['upload_file']['tmp_name']) AND
!isset($error)) {
    $error = "<b>You must upload a file!</b><br /><br />";
	unlink($HTTP_POST_FILES['upload_file']['tmp_name']);
}
if ($HTTP_POST_FILES['upload_file']['size'] > $maxsize AND !isset($error)) {
    $error = "<b>Error, file must be less than $maxsize bytes.</b><br /><br />";
	unlink($HTTP_POST_FILES['upload_file']['tmp_name']);
}
if($HTTP_POST_FILES['upload_file']['type'] != "image/gif" AND
$HTTP_POST_FILES['upload_file']['type'] != "image/pjpeg" AND
$HTTP_POST_FILES['upload_file']['type'] !="image/jpeg" AND !isset($error)) {
    $error = "<b>You may only upload .gif …
mexabet 49 Good Learner

I will write out the code necessary to upload files. It's going to take me quite some time. So, be a little patient, please.

mexabet 49 Good Learner

Take a look at this thread. See if it solves your problem: http://www.daniweb.com/forums/thread116563.html

mexabet 49 Good Learner

Now people have started worrying about their sites' PR again. I noticed changes in my sites' PR yesterday. In as much as it doesn't worry me much, I still try my best to work on my PR. Somehow, it gives confidence.

mexabet 49 Good Learner

Oh, this morning I noticed that the PR of some of my site's inner pages have climbed dramatically. That of the homepage remains the same. Even one of my sites that didn't have any PR before jumped to PR3.

In some forums people are talking about the PR update so much. A couple of people said they lost some PR for reasons they are yet to decipher. Others are rejoicing.

mexabet 49 Good Learner

I love that scipt. Cute! But you need to implement Captcha on the registration page. My idea of some scripts I bought is this: USD 25.00 if the buyer will keep your link in the footer of all the pages (that is link back enforced). Or USD 50.00 or a bit more if the buyer will remove "Powered by Picly.com".

Hi everyone !

I am a new to this forum. I have a question to ask:
I have developed a php imagehosting script for one of my customer. The demonstartion can be found at : http://picly.com
(I have not uploaded the admin panel there, but you can find it here: http://aamirtest.awardspace.com/image11/admin pass: hassanahmad1)
My question is how much this script is worth... i mean how much money should i charge for this one.. as i have no idea..

any suggestion will be greatly appreciated.

Thanks,
Hassan Ahmad.

mexabet 49 Good Learner

Cron can be set to run any Perl or PHP script and basically any command that can be run from a command line. It allows you to run commands and scripts at a certain time and date that you can set in a "crontab". You can create a crontab in Plesk Reloaded and in Cpanel (Xskin) using the online control panels. In order to get started with cron, you must have a server that is currently running cron. Your host will also be able to tell you where you are able to setup crontabs -- whether it's from a web based control panel, or through a telnet terminal window.

mexabet 49 Good Learner

Thanks to all for the warm welcome!

mexabet 49 Good Learner

The height attribute of the TABLE tag is not supported by Firefox 1.0

give your table width="1024" height="760"
it's take in pixels then solve but post your thread in HTML & CSS sections

mexabet 49 Good Learner

This will give a clue on how to structure your form fields with table and how to center the form on the page. Pretty easy.

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style2 {color: #FF0000}
.style3 {	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #2A1FAA;
}
.style7 {	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}
#form1 input {
	margin-right: 40px;
}

#formwrap {
	font: 14px Arial, Helvetica, sans-serif;
	color: #000000;
	width: 550px;
	border: 1px solid #FFEAB3;
	margin-right: auto;
	margin-left: auto;
}
#Layer3 #rightcolumn {
	font: 14px Arial, Helvetica, sans-serif;
	float: right;
	width: 157px;
	margin-left: 5px;
	border: 1px solid #DEDEE0;
	background: #E6FFFF;
}
.style2 {color: #FF0000}
#Layer3 #formwrap #form1 input {
	margin-right: 40px;
}
.style3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #2A1FAA;
}
-->
</style>
</head>

<body>
<div id="formwrap">Content for New Div Tag Goes Here
  <form action="sales_contact_form_process.php" method="post" enctype="multipart/form-data" name="form1" target="_self" id="form1">
    <table width="100%" cellspacing="5" cellpadding="3">
      <tr>
        <td colspan="2" bgcolor="#FFEFC6"><span class="style3">All fields marked with  &quot; </span><span class="style7"><font color="#ff0000">* </font></span><span class="style3">&quot; are required.</span> </td>
      </tr>
      <tr>
        <td bgcolor="#FFF3D5">Name:</td>
        <td align="left" bgcolor="#FFF3D5"><input name="Name" type="text" id="Name" size="40" />
            <span class="style2">*</span></td>
      </tr>
      <tr>
        <td bgcolor="#FFF3D5">Email:</td>
        <td bgcolor="#FFF3D5"><input name="Email" type="text" id="Email" size="40" />
            <span class="style2">*</span></td>
      </tr>
      <tr>
        <td bgcolor="#FFF3D5">Address:</td>
        <td bgcolor="#FFF3D5"><input name="Address" type="text" id="Address" value="" size="40" /></td>
      </tr>
      <tr>
        <td bgcolor="#FFF3D5">Country:</td>
        <td bgcolor="#FFF3D5"><select name="Country" id="Country">
            <option value="">Please, select your country</option>
            <option>Afghanistan</option>
            <option>Albania</option>
            <option>Algeria</option>
            <option>American Samoa</option>
            <option>Andorra</option>
            <option>Angola</option>
            <option>Anguilla</option>
            <option>Antarctica</option>
            <option>Antigua and Barbuda</option>
            <option>Argentina</option>
            <option>Armenia</option>
            <option>Aruba</option> …
mexabet 49 Good Learner

Visit the official site of PEAR at http://pear.php.net/ for information.

mexabet 49 Good Learner

I heard something about an update in their algorithm, but I haven't noticed anything myself.

mexabet 49 Good Learner

Open an accounts with Google Webmaster Tools, Live.com Webmaster Center and Yahoo Site Explorer. Study their tutorials from within your accounts, and proceed to submit your site to them. Don't underestimate the benefits to be reaped from them. Also get yourself acquainted with submitting to directories.

mexabet 49 Good Learner

Make sure all your web pages have META Keywords and META Descriptions in the Header section of those pages. These help in getting web crawlers to index the pages containing them.

mexabet 49 Good Learner

Very helpful SEO tips can always be found here at DaniWeb.

mexabet 49 Good Learner

Register a few domain names and develop them into websites. Some web hosts Bluehost.com allow clients to host multiple domains on one account. Build some links on those sites pointing to your main web site.

mexabet 49 Good Learner

On the homepage you need to write a well constructed and captivating introduction that embodies what your site stands for. This is what's going to make a visitor want to stay. The "content_01.jpg" looks exotic, but it's too large and it took the place of text. You should remember that your site is not a photo gallery.

mexabet 49 Good Learner

Thanks praveen_dusari.

hi mexabet,
you will have import option in your database and in conn.php

<?
mysql_connect("localhost","username","password");
mysql_select_db("databasename");
?>

and u need to include conn.php in every page where u use sql quieries

mexabet 49 Good Learner

Please, tell me the detailed steps to achieve this. Should the database login be inside conn.php?

hi mexabet,
you need to import that file into your database

mexabet 49 Good Learner

Okay, assuming I call this database table file databse_backup.sql, how then can I reference it in those PHP files?

yeh, sure my friend

mexabet 49 Good Learner

A sample article of mine can be found at: http://www.mexabet.com/news/categories/web_directories/reciprocal_links.php
However, I can adapt the rhythm to suit your taste and the style you like. It's really hard for me to tell you my pricing, since I haven't written articles for money before. It was literally passion! Just tell me how much you can afford, and if it's okay, it would be a deal. Can you post a link to the site where the articles would be hosted?

can i have sample content you have written so far. and also let me know how much you expect from me

mexabet 49 Good Learner

I can handle that. What can you afford? And how many articles will I have to write in a week? Generally, your terms.

All related to SEo

mexabet 49 Good Learner

Without self-aggrandizement, I can tell you I'm a good writer. But it depends on the topics to be written about. Let me know the topics and I will know if I fit in or not.

Where can we get good posters who can write for us at very low price.

mexabet 49 Good Learner

A well compiled online dictionary on a niche subject of your choice. It might be something regular dictionaries don't offer.

mexabet 49 Good Learner

I have this navigation bar with drop-down menu. It functions fine but the drop-down menu displays abnormally. Can anyone visit this URL and even view the source code of the Javascript and CSS? I need somebody to pinpoint the error. Your help would be much appreciated.

The URL: http://www.mexabet.com/index.php

mexabet 49 Good Learner

You can as well buy some PHP & MySQL textbooks. http://safari.oreilly.com has good books on both subjects. And they give you an offer to read online.

Moreover, search with Google, Yahoo and MSN about "PHP tutorials".

mexabet 49 Good Learner

Example:

<form action="process.php" method="post" enctype="multipart/form-data" name="form1" target="_self" id="form1">

<select name="ProductName">
            <option>Please, select</option>
            <option value="Cooling System">Cooling System</option>
            <option value="Desktop PC">Desktop PC</option>
            <option value="DVD Player">DVD Player</option>
            <option value="Laptop">Laptop</option>
            <option value="Media Player">Media Player</option>
            <option value="Monitor">Monitor</option></select>
</form>

Then, create a file called process.php to process the form.

mexabet 49 Good Learner

Visit this site to check if you can get one script that matches your need: http://www.hotscripts.com/PHP/Scripts_and_Programs/Networking_Tools/Whois/index.html

mexabet 49 Good Learner

Mustafa, nice job! You're getting there, but you need to do more finishing touches. I logged in and went to write a new article. I wrote the first one without entering anything on the "Subject" field, and the form was submitted successfully. Again the form was submitted when I filled out the "Subject" field but nothing on the "Article content" field.

I will be visiting more often. Good luck!!!

mexabet 49 Good Learner

Banning someone's IP address is not a good practice, since the user might be on a random IP address. His/her IP address changes every time he's online, as assigned by his/her ISP. Banning might cause you to lose some sincere potential visitors who are using the same IP address assigned to the offender. You can temporary ban the address and remove the ban shortly afterwards, though.

IP ban him.

mexabet 49 Good Learner

Hiring paid forum posters seems to be a bad idea. You risk turning your new forum into a garbage dump. Quality posts in a forum and how the threads are solved are what differentiate a good forums from bad ones. What you need is to get real people to interact, exchange ideas and benefit one another, thereby growing a happy online family.

mexabet 49 Good Learner

Don't underestimate the potential of submitting your site to web directories.

mexabet 49 Good Learner
# Drop any existing table `posts`
# --------------------------------------------------------
DROP TABLE IF EXISTS `posts`;

# --------------------------------------------------------
# Table structure for table `posts`
# --------------------------------------------------------
CREATE TABLE posts (
                    post_id int(11) NOT NULL auto_increment,
					category_id int(11) NOT NULL,
					user_id int(11) NOT NULL,
					title varchar(150) NOT NULL,
					body text NOT NULL,
					posted timestamp,
					PRIMARY KEY (post_id)
					);

Hey,

Im just wondering how i can get something like this to work:

$tablename = $_POST['tablename']; 
mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL))

At the moment its coming up with an error because I am using a variable for the table name instead of inputting it normally.

Thanks,

Max

mexabet 49 Good Learner

Hi selfhelpebooks,

Thanks for the welcome! Good to know you.

mexabet 49 Good Learner

Hello,

I am very glad to join this area! I hope to integrate well into the community.

Really, I have been around Daniweb for quite a while, but haven't been able to introduce myself here before. I'm Justin from Nigeria and I'm a junior web designer/developer. I'm also a regular visitor of SNIPPED, and a link there sent me over to Daniweb. What a good feeling to be among you all. And I'm optimistic we all are going to carry Daniweb to the highest heights and benefit ourselves too in doing so.

mexabet 49 Good Learner

I posted a php guestbook code here: http://www.daniweb.com/forums/thread116563.html. You will find it useful. I reckon that's what you need, though you might customize it to suit your needs.

mexabet 49 Good Learner

Thanks to all who replied. You've been helpful. The issue is now resolved.

mexabet 49 Good Learner

I'm having an issue getting two Javascripts to work on one page. It seems that one disables the other and only one is working when previewed together. I know of a code that can be inserted so that both codes can function on one page, but I just can't lay my hands on it right now.

So, can anyone here provide me such code, please?

mexabet 49 Good Learner

I wrote this simple form script with PHP processing and it's beautiful. Copy and paste this code into the portion of your web page where you want the form to appear (it can be HTML or PHP web page, that is, you can save this file as comments.html or as comments.php):

<td width="411" valign="top"><form enctype="multipart/form-data" action="process.php" method="post">

<table style="border-collapse: collapse" width="411" height="293" cellspacing="1" cellpadding="5" border="1" align="center">
  <tbody><tr align="left"><td width="10%" height="17" bgcolor="#b5cbef" background="../tile_back.gif" colspan="2" bordercolor="#FFFFFF"><p><font size="2" face="Verdana" color="#ffffff"><strong>
    <!--- You can add a form title here ---->   
    </strong></font><strong><font size="2" face="Verdana" color="#000066"> </font></strong>
    </p>
  </p></td></tr><tr>
    <td width="100%" height="16" bgcolor="#b5cbef" background="../tile_sub.gif" bordercolor="#FFFFFF" colspan="2"><p><font size="2" face="Verdana"><strong><font size="2" face="Verdana" color="#000066">
              <!--- You can add a brief form description here---->
      <br>
    </strong></font></p></td></tr><tr><td width="10%" height="16" bgcolor="#d6dfef" colspan="2" bordercolor="#FFFFFF"><font size="1" face="Verdana">Please fill in all fields marked with a <font color="#ff0000">*</font></font></td></tr><tr><td width="100" height="30" bgcolor="#eff3f7" align="right" bordercolor="#FFFFFF"><font size="2" face="Verdana">Name:</font></td><td width="469" height="30" bgcolor="#eff3f7" bordercolor="#FFFFFF"><font face="Verdana">
<input name="Name" type="text" size="40">
<font color="#ff0000">*</font></font></td></tr><tr><td width="100" height="30" bgcolor="#eff3f7" align="right" bordercolor="#FFFFFF"><font size="2" face="Verdana">Email:</font></td><td width="469" height="30" bgcolor="#eff3f7" bordercolor="#FFFFFF"><font face="Verdana">
<input name="Email" type="text" size="40">
<font color="#ff0000">*</font></font></td></tr><tr><td width="100" height="30" bgcolor="#eff3f7" align="right" bordercolor="#FFFFFF"><font size="2" face="Verdana">Web Site:</font></td><td width="469" height="30" bgcolor="#eff3f7" bordercolor="#FFFFFF"><font face="Verdana">
<input name="WebSite" type="text" size="40">
</font></td></tr><tr><td width="100" height="30" bgcolor="#eff3f7" align="right" bordercolor="#FFFFFF"><font size="2" face="Verdana">Message:</font></td><td width="469" height="30" bgcolor="#eff3f7" bordercolor="#FFFFFF"><font face="Verdana"><textarea name="Message" rows="4" cols="30"></textarea>
<font color="#ff0000">*</font></font></td></tr><tr>
  <td width="10%" height="25" colspan="2" align="center" background="../tile_sub.gif" bgcolor="#b5cbef"><font size="2" face="Verdana">
  <input type="submit" value="Submit Form">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input type="reset" value="Reset Form">
  </font></td>
</tr></tbody></table>
      </form>

Now that you've got the form in place on your page, let's go over to its processing in PHP. Copy the PHP code below and save the …

mexabet 49 Good Learner

Hi petr.pavel,

Thanks for your suggestion. I'm checking out those links to see if I can find something useful. But a quick check at zugrab told me their thumbnail generator is for Windows hosting. I'm using Linux.

No offenses taken at your question. Honestly I didn't search this issue with Google before asking. I literally forgot the basic thing. Glad you woke me up.

Hi Mexabet,
unless you want to create the thumbnail yourself
(e.g. http://www.zubrag.com/scripts/website-thumbnail-generator.php)
you could use some of these:
http://thumbnails.iwebtool.com/
http://www.splitbrain.org/blog/2007-08/23-free_website_thumbnail_services

I don't want to sound rude but... did you use Google before asking (query: website thumbnail)?

As for PageRank, try looking into source code of these Firefox extensions:
https://addons.mozilla.org/cs/firefox/search?q=pagerank

mexabet 49 Good Learner

I'm currently developing a domain whois lookup script in PHP. I want it to display a snapshot of the homepage of the searched website. Moreover, I would like to get this script to display Google PageRank. Please, does anyone know how to incorporate these features into my script? I would appreciate any clue.

mexabet 49 Good Learner

If your domain name is coliotz.com, it is most likely your FTP Host will be ftp.coliotz.com. I hope this helps.