User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 332,688 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,430 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our advertiser:
Showing results 1 to 40 of 158
Search took 0.02 seconds.
Posts Made By: phper
Forum: PHP 2 Days Ago
Replies: 1
Views: 89
Posted By phper
Re: browser detect

You should have a look on the PHP site:

http://us3.php.net/function.get-browser

http://uk.php.net/manual/en/reserved.variables.server.php
Forum: PHP 9 Days Ago
Replies: 1
Views: 78
Posted By phper
Re: Oracle PHP connection

I would suggest looking at the php website by following this link:

http://uk.php.net/oci8
Forum: PHP 11 Days Ago
Replies: 1
Views: 90
Posted By phper
Re: simple problem

once the user & pass is validated in window b, use javascript to close (B) and refresh window(A).

Window a then has a script to check the user credentials again and then uses the php header()...
Forum: PHP 11 Days Ago
Replies: 1
Views: 89
Posted By phper
Re: Help to Daily Rotate audio .swf

This post may be better of in the Javascript forum!!
Forum: PHP 11 Days Ago
Replies: 4
Views: 134
Posted By phper
Re: Help: Multiple user levels code

I would suggest you purchase a book on PHP. An excellent book is PHP and MySQL for Dynamic Web Sites :
http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/0321336577

It gives you all the basics you...
Forum: PHP 11 Days Ago
Replies: 3
Views: 136
Posted By phper
Re: Problem on runing Hello world with my php configuration HELP?

This sounds as though your having a problem with Dreamweaver - not with your php setup.

Why not use Windows Explorer - Navigate to C:\WAMP\WWW\afolder\ and create a txt file. Open the file using...
Forum: PHP 11 Days Ago
Replies: 9
Views: 193
Posted By phper
Re: Login problem, need fresh set of eyes.

Can you let us know what the problem it is your having??
Forum: PHP 11 Days Ago
Replies: 7
Views: 210
Posted By phper
Re: hello all

I've tried this code myself and I can definately connect.


<?php
$name = 'emailaddress@gmail.com';
$pwd = 'password';

$mailbox = '{imap.googlemail.com:993/imap/ssl}';
$mbox = imap_open...
Forum: PHP 13 Days Ago
Replies: 10
Views: 326
Posted By phper
Re: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

replace your while loop with this:


while ($data = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo '<img src="'.$row['url'].'" /><br/>';
}


This should loop through the images and display...
Forum: PHP 14 Days Ago
Replies: 10
Views: 326
Posted By phper
Re: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

Your not selecting a database in your code.

Try adding


mysql_select_db('databasename');
Forum: PHP 16 Days Ago
Replies: 7
Views: 210
Posted By phper
Re: hello all

Did you check if the IMAP function had been enabled in GMail?
Forum: PHP 16 Days Ago
Replies: 10
Views: 326
Posted By phper
Re: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

Try using this code:


while ($data = mysql_fetch_array($result, MYSQL_ASSOC)) {


Just replace your while statment with the one above.

Let me know how it goes!!
Forum: MySQL 16 Days Ago
Replies: 2
Views: 216
Posted By phper
Re: Setting Permissions in MySQL

If you use a MySQL GUI such as MySQL Administrator or navicat for MySQL they both have neat UI's that do everything for you.
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 5
Views: 582
Posted By phper
Re: Need Javascript calendar??

The jquery UI project has an amazing Javascript based calender that you can use.

You can get it here:

http://dev.jquery.com/view/trunk/ui/demos/ui.datepicker.html

Regards,
Alex
Forum: PHP 16 Days Ago
Replies: 7
Views: 216
Posted By phper
Re: How do I pass a link (webpage) through url?

Do you mean like screenscraping?
Forum: PHP 16 Days Ago
Replies: 7
Views: 210
Posted By phper
Re: hello all

Also, when I connect to googlemail via IMAP I have used Port 993 using the following connection string:


$mbox_open = imap_open ("{imap.googlemail.com:993/imap/ssl}[Google Mail]/Sent Mail",...
Forum: PHP 16 Days Ago
Replies: 7
Views: 210
Posted By phper
Re: hello all

Have you ensured the IMAP connections are allowed within your gmail account?

Go to gmail.com and check you account settings to ensure it's allowed.

Regards,
Alex
Forum: PHP 16 Days Ago
Replies: 2
Views: 150
Posted By phper
Re: mysql_fetch_array(): supplied argument is not a valid MySQL result resource

You have closed the while loop.


while($row = mysql_fetch_array($result));


Notice the ; on the end. Remove this and you query should run.

Regards,
Alex.
Forum: PHP 16 Days Ago
Replies: 10
Views: 326
Posted By phper
Forum: PHP 16 Days Ago
Replies: 10
Views: 326
Posted By phper
Re: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

I would use the following code:


<?php
$db = mysql_connect($hostname, $username, $password) or die ("Unable to connect to MySQL");
$sql = "SELECT url, thumb, ref, info FROM others LIMIT...
Forum: PHP 19 Days Ago
Replies: 1
Views: 141
Posted By phper
Re: Parse error help...

You need to escape the " characters in your <a href=""> string. Or change the print function to


print '
<b>Vote here on each of these sites to help Ruins of Sera. Each one of your votes gives you...
Forum: PHP 19 Days Ago
Replies: 7
Views: 183
Posted By phper
Re: mysql_numrows not working??

I think it's because when the row return's zero then php thinks it's an error so it runs the die() function.

I always write my scripts like the one I showed you and I never have a problem.

Please...
Forum: PHP 20 Days Ago
Replies: 7
Views: 183
Posted By phper
Re: mysql_numrows not working??

It may be producing an error because there are no rows.

You might be better to write the script as:


$email_rows = mysql_num_rows($check_email_sql);

if($email_rows>0){
echo $email_rows;
}else...
Forum: PHP 23 Days Ago
Replies: 4
Views: 239
Posted By phper
Re: SMTP mail without php.ini

You can use the php_flag option in a .htaccess file.

This is only if the server allows this option.

Do a google search on php_flag
Forum: PHP 23 Days Ago
Replies: 1
Views: 101
Posted By phper
Re: how to make ..htaccess

You want to use url re-writing?
Forum: PHP 23 Days Ago
Replies: 2
Views: 85
Posted By phper
Re: My company is looking for a PHP Programmer!

Hi.

I'm interested in this position.

You can view samples of my work at

http://www.ajtrichards.co.uk/

Look forward to hearing from you!
Forum: PHP 27 Days Ago
Replies: 2
Views: 310
Posted By phper
Re: You don't have permission to access /.shtml on this server.

Is there a file present called link.stml??
Forum: PHP 29 Days Ago
Replies: 6
Views: 478
Posted By phper
Re: Retrieve data and display in drop down boxes

Use something like this


<?php
echo '<select name='dropdown' id='dropdown'>
<option> -- select -- </option>';

$sql = "SELECT * FROM table";
$result = mysql_query($sql);
Forum: HTML and CSS 29 Days Ago
Replies: 5
Views: 205
Posted By phper
Re: Which development software ?

You could use

SeaMonkey
http://www.seamonkey-project.org/

The SeaMonkey project is a community effort to develop the SeaMonkey all-in-one internet application suite. Such a software suite was...
Forum: PHP 29 Days Ago
Replies: 4
Views: 168
Posted By phper
Re: Fatal error: Call to undefined function fe()

What does the fe() function do? Have you defined it in another file that you do an include on?
Forum: PHP 29 Days Ago
Replies: 1
Views: 167
Posted By phper
Re: disable textbox

You just need to use


readonly="readonly"


instead of disabled.
Forum: HTML and CSS 29 Days Ago
Replies: 5
Views: 205
Posted By phper
Re: Which development software ?

It all depends what you want.

If you need a WYSIWYG editor then Dreamweaver can be one of the best. You could try typing in free wysiwyg editors in to google?

Personally, I use Dreamweaver CS3 but...
Forum: JavaScript / DHTML / AJAX 30 Days Ago
Replies: 6
Views: 425
Posted By phper
Re: Any pointer on how the developer made this

Absolutely positioned DIV element which changes colour on mouseover.
Forum: PHP 30 Days Ago
Replies: 3
Views: 351
Posted By phper
Re: back to previous page using href

You could alternatively use:


<a href="<?php echo $_SERVER['http_referrer']; ?>">Search Result</a>
Forum: PHP 32 Days Ago
Replies: 4
Views: 228
Posted By phper
Re: Selectbox selected

Use a hidden text field named submitted and the value as true.

Then before your mysql populates the drop-down write


<option value="'.$value.'">'.$value.'</option>


$value being the value which...
Forum: PHP 32 Days Ago
Replies: 3
Views: 95
Posted By phper
Re: need help querying two separate but related tables!!!

If you want to just retrieve 1 image then just use the LIMIT feature.

e.g Limit 0,1

Regards!
Forum: PHP 32 Days Ago
Replies: 3
Views: 95
Posted By phper
Re: need help querying two separate but related tables!!!

I would suggest using an Inner Join.


SELECT * FROM item INNER JOIN item_images ON item.item_id = item_images.item_id WHERE item.item_id = '12'
Forum: PHP 32 Days Ago
Replies: 5
Views: 167
Posted By phper
Re: convert php/mysql page to html

Do you mean like a screen scraper??
Forum: PHP 32 Days Ago
Replies: 5
Views: 323
Posted By phper
Re: PHP and MS SQL Secure Authentication system

Ok - no problem.

Say you have your login page called login.php - this page will contain a form with the username & password fields along with a button that send the users to page called...
Forum: PHP 33 Days Ago
Replies: 3
Views: 160
Posted By phper
Re: Need Your Input

I can't login either.
Showing results 1 to 40 of 158

 
All times are GMT -4. The time now is 4:54 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC