User Profile
Collapse
-
i downloaded a PHPMailer_v5.1 but where do i need to extract it at my online host? -
Can you please specify what is a mail server? T_T im a total newbie at uploading sites online php etc..
I contacted the host they said i should use SMTP Authentication but did not tell me how to..
There is a webmail option at the mail menu in their plesk system but im not sure about it..
here is the site
sneakersworld.o rg
thanksLeave a comment:
-
Error at sending Email confirmation
When i uploaded my site i got these error at registration. When a user register he/she will receive a confirmation email with the link to activate his/her account.
But i got this error when i click register:
Warning: mail() [function.mail]: SMTP server response: 530 SMTP authentication is required. in E:\Inetpub\vhos ts\sneakersworl d.org\httpdocs\ Sneakers\includ e\mailer.php on line 40
the line 40 of my... -
-
i finally got it.. ^_^
i just add ORDER BY ImgID DESC LIMIT 1
sorry for the newbie trouble..
Thanks ^_^Leave a comment:
-
one more question sir.
i want to select the last row that was inserted at the database by selecting it inCode:<?php include("connection.php"); $sql = mysql_query("SELECT * FROM image WHERE ImgID = '" . $ImgID . "'") or die(mysql_error()); $row = mysql_fetch_array($sql); echo "<img src=view.php?image=". $row['url'] . "&mode=resize&size=350x500
Leave a comment:
-
mysql_affected_rows
i found this mysql_affected_ rows in php.net but there is no example for SELECT.
i want to select the last save image then preview it by calling its url at the database.. is it possible with mysql_affected_ rows? or should i go for mysql_data_seek ()?
Im still a newbie and still exploring the wonders in php.. though im guilty that i just copy and paste code and try to understand its function..
i cant find... -
Here is the code for pic.php
Code:<?php session_start(); include("connection.php"); echo "Pageviews = ". $_SESSION['random']; //checking if Session is passed $ImgID = $_SESSION['random']; $filename= $random; $path = 'images/' . $filename . '.jpg'; $sql = mysql_query("SELECT * FROM image WHERE ImgID = '" . $ImgID .
Leave a comment:
-
When i tried putting a session on my pixel.php i got these error:
i got aCode:header("location: pic.php");
Do the header affect the Session?
Here is the error:
Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs \WWW\Sneakers\f iles\pic.php:2) in C:\xampp\htdocs \WWW\Sneakers\f iles\pic.php...Leave a comment:
-
Thanks you so much. What a great community..
Im going to try to apply it on my code.
If i have further questions am i going to post another? or post it in this thread?
Thank you again!!Leave a comment:
-
Can you assign another variable to Session? Like this:
Code:$random = rand (100 , 200) $_SESSION['random'] = "$random";
Leave a comment:
-
assigning $_SESSION
Is it possible to call the $random in another page? i used the $random as a filename in the image that was converted from movie to jpeg.
Code:$random = rand(1000000, 9999999); $_SESSION['random']=$random;
Code:$sql = mysql_query("SELECT * FROM image WHERE url
-
Im sorry about that. I got carried away by my problem forgot to be aware of forum tags. I'll edit it. Thanks
Sir do you have any idea how to pass the $image to the database?Leave a comment:
-
How to save image PHP
I tried to convert a movie (SWF) to Jpeg using getpixel then the jpeg image will be pass to show.php.
The show.php will be pop out in a new tab with the SWF converted already into a JPEG.
I want to save that image into MySql but i failed to insert it correctly.
Here is the Show.php code:
Code:<?php $data = explode(",", $_POST['img']); $width = $_POST['width'];
No activity results to display
Show More
Leave a comment: