Search Results

Showing results 1 to 40 of 48
Search took 0.01 seconds.
Search: Posts Made By: helraizer
Forum: PHP Jun 16th, 2008
Replies: 3
Views: 2,495
Posted By helraizer
Thanks, that's stopped the first error.

However now an odd result has turned out. The script on its own gives the picture I linked to in my previous post.

However in the code when it's within...
Forum: PHP Jun 15th, 2008
Replies: 3
Views: 2,495
Posted By helraizer
Hey folks,

I'm working on animating gifs in GD. I've adapted the use of the GIFEncoder class from phpclasses.
original
gif.php


<?php
Forum: PHP Jun 10th, 2008
Replies: 2
Views: 982
Posted By helraizer
Hey, thanks for the input.

I found a solution a while ago.


if (isset($filter))
{

imagepng($image);
Forum: IT Professionals' Lounge Jun 7th, 2008
Replies: 3
Views: 1,173
Posted By helraizer
Long time no see here.

I've made the emoticons as was suggested before! :D

The user control panel for the full size JustShout! is now up and running.

An example of some standard and custom...
Forum: PHP Jun 5th, 2008
Replies: 0
Views: 477
Posted By helraizer
Hey folks, yet again.




if ($back == "m") //$back is a value pulled from a db; that works perfectly.
{
$wid = $rowing['width'];
$hei = $rowing['height'];
...
Forum: PHP Jun 5th, 2008
Replies: 13
Views: 1,653
Posted By helraizer
As far as I know, PayPal use CGI, but you've a three way bet on CGI, Perl and PHP. Any guess is as good as any
Forum: PHP Jun 3rd, 2008
Replies: 5
Views: 1,185
Posted By helraizer
Yeah. XSS! Some how they found an exploit in the posting of blogs on a user's site in which they use the HTML <!-- Comments --> <!-- Traffic Statistics --> Exploitary code here <!-- End Traffic...
Forum: PHP Jun 3rd, 2008
Replies: 25
Views: 1,807
Posted By helraizer
Humm.....

Could you give me the structure of the table in your database?

Like

id INT Auto_Increment
dispname (VARCHAR)

or whatever it may be? That way I can have a play in my own db.
Forum: PHP Jun 3rd, 2008
Replies: 5
Views: 1,185
Posted By helraizer
It's so called "script injection".

Are you using Wordpress blogs or WP-Stats in your website? For they are particularly vunerable?.The way that is done is with specially crafted SQL using certain...
Forum: PHP Jun 3rd, 2008
Replies: 25
Views: 1,807
Posted By helraizer
I see, that makes a bit more sense now. So 11 could be K or something.. Well, I think your search is working perfectly (that I know of) but you're using LIKE %$trimmed%

Let's say that $trimmed is...
Forum: PHP Jun 3rd, 2008
Replies: 25
Views: 1,807
Posted By helraizer
I don't really understand the question here. What is the difference between A11 and Id=11?

Sam
Forum: PHP Jun 3rd, 2008
Replies: 8
Views: 478
Posted By helraizer
If it goes when .htaccess goes then the problem is with .htaccess.

Post us what you have in .htaccess and we'll tell you of any errors.
Forum: PHP Jun 3rd, 2008
Replies: 8
Views: 478
Posted By helraizer
Yeah, there's most likely an error in the .htaccess file which is causing the problem; .htaccess is one of the first files the browser reads.
Forum: PHP Jun 2nd, 2008
Replies: 5
Views: 6,211
Posted By helraizer
Don't know why you would because jpg is a lot worse quality than png. If I were you convert to gif, but that's just me.

Convert to jpg:


$image = ImageCreateFromPNG("yourimage.png");
...
Forum: PHP Jun 2nd, 2008
Replies: 2
Views: 982
Posted By helraizer
Hey folks,

I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET['page'] - pagination - that works. However, since it's image...
Forum: PHP Jun 2nd, 2008
Replies: 3
Views: 2,432
Posted By helraizer
If you opened said first process with

proc_open() then you can use the function proc_close() to stop it running again.
Forum: PHP Jun 2nd, 2008
Replies: 2
Views: 2,134
Posted By helraizer
There's no way of hiding it completely but do you mean like this: instead of having http://www.daniweb.com/forums/newreply.php?do=newreply&p=618933 you just have http:/www.daniweb.com/forums - no...
Forum: PHP May 30th, 2008
Replies: 0
Views: 414
Posted By helraizer
Hi folks,

I have an image based shoutbox which I am currently implementing emoticons onto. I have a way now for the emoticons to appear where the :D or =) etc. is on the image, but for some reason...
Forum: MS Access and FileMaker Pro May 16th, 2008
Replies: 0
Views: 1,117
Posted By helraizer
Hi folks,

I have a system for an auctioneer and have on the form I have the fields: lot (the item), reserve price ([Reserve]) and minimum successful bid so far ([Min]). There is then a text box...
Forum: IT Professionals' Lounge May 10th, 2008
Replies: 3
Views: 1,173
Posted By helraizer
Yeah, I'm working on this but it's not as easy as I once thought, since it's image based so dynamic, not sure how I'd get the x/y values on the image for where the text 'xD' or '=D' or ':)' is. I'm...
Forum: Visual Basic 4 / 5 / 6 Apr 23rd, 2008
Replies: 0
Views: 1,057
Posted By helraizer
Hi folks,

I have made a ledger sub in Excel. The task is to create a spreadsheet solution for a foreign exchange bureau so each transaction that happens it adds the details to a ledger sheet.
...
Forum: PHP Apr 23rd, 2008
Replies: 2
Views: 2,134
Posted By helraizer
using your data, assuming 'tom', 'ron', 'chris' and 'bert' are table names.


DELETE tom.*, ron.*, chris.*, bert.*
FROM tom, ron, chris, bert
WHERE id = '$value';


Sam
Forum: PHP Apr 21st, 2008
Replies: 5
Views: 868
Posted By helraizer
' can be inside " and " can be inside ', but ' can't be inside ' just like " can't be inside ", but \' and \" can be used to escape the quotes so they are a character in the string, rather than the...
Forum: PHP Apr 21st, 2008
Replies: 20
Views: 1,864
Posted By helraizer
Cool, glad I could help! Perhaps change the last

"Success!! Blog failed!" To "Error!! Blog failed!"
Forum: PHP Apr 21st, 2008
Replies: 20
Views: 1,864
Posted By helraizer
Ok, try this


if(isset($_POST['submitbutton'])) {
$pass = mysql_real_escape_string(htmlspecialchars($_POST['password']));

$sql_a = "SELECT * FROM secure WHERE password = '$pass' LIMIT 0, 1";...
Forum: PHP Apr 20th, 2008
Replies: 20
Views: 1,864
Posted By helraizer
if(isset($_POST['submitbutton'])) {
$pass = mysql_real_escape_string(htmlspecialchars($_POST['password']));

$sql_a = "SELECT * FROM secure WHERE password = '$pass' LIMIT 1"; // change field and...
Forum: PHP Apr 19th, 2008
Replies: 8
Views: 1,480
Posted By helraizer
Hmm.. I'm not entirely sure, except you don't have <html><head><title></title></head>or<body></body></html> tags anywhere, which could cause a problem in your browser if you try to just post a <form>...
Forum: PHP Apr 19th, 2008
Replies: 4
Views: 2,314
Posted By helraizer
Also, assuming that there is a unique ID field there is an easier way. You can simply do a query like this:


SELECT *
FROM `tblxdetails`
ORDER BY `id` DESC
LIMIT 1 ;


and it will give you...
Forum: PHP Apr 18th, 2008
Replies: 20
Views: 1,864
Posted By helraizer
Once you have stored the password in the database there are two options:


$pass = mysql_real_escape_string(htmlspecialchars($_POST['password']));

$sql_a = "SELECT * FROM secure WHERE password...
Forum: PHP Apr 18th, 2008
Replies: 8
Views: 1,480
Posted By helraizer
How do you mean "can't get it to work"? What doesn't work? Do you get errors?

Add this to the top of your code


error_reporting(E_ALL);

ini_set('display_errors', true);
Forum: PHP Apr 18th, 2008
Replies: 8
Views: 1,480
Posted By helraizer
Try


if (isset($_POST['submit'])) {
$emal = htmlspecialchars($_POST['email']);
$name = htmlspecialchars($_POST['q']);
unset($error);

$error = array();
if ($emal == '') {
Forum: PHP Apr 18th, 2008
Replies: 5
Views: 569
Posted By helraizer
Glad I could help. =)

*mark as solved*
Forum: PHP Apr 18th, 2008
Replies: 3
Views: 884
Posted By helraizer
You used double quotes for the statement, but used them within, too.

so change your line 89 to this


$add_fax_sql = "INSERT INTO fax (`master_id`, `date_added`, `date_modified`,...
Forum: PHP Apr 18th, 2008
Replies: 5
Views: 569
Posted By helraizer
Ah, I see.

You closed your </a> before the Company Name.

So where you have


echo "Companytype :"."<a href= 'houseinfo.php?companytype=".$row["companytype"]."'></a>". "<br>";
echo...
Forum: PHP Apr 18th, 2008
Replies: 1
Views: 1,664
Posted By helraizer
Hi vijukumar,

You should make it so that the login form posts to the same page as with the login form $_SERVER['PHP_SELF'];

Upon successful login you should have it show a link for the user to...
Forum: PHP Apr 18th, 2008
Replies: 5
Views: 569
Posted By helraizer
Do you just want the link to open in a new window? (new tab in newer browsers) Or are you wanting a 'pop-up box'?

Sam
Forum: PHP Apr 18th, 2008
Replies: 6
Views: 2,710
Posted By helraizer
<?php
echo "<select name='dropdown' id='dropdown'>";


$sql = "SELECT country FROM tbl_user WHERE username='$username'";
$result = mysql_query($sql) or die("Error in sql: ".mysql_error());
...
Forum: PHP Apr 18th, 2008
Replies: 3
Views: 5,436
Posted By helraizer
<a href="javascript:history.back(-1);">Previous Page</a>


is an option.

Then if you're using php you could start a session $_SESSION['page'], with the page name set differently on each page....
Forum: PHP Apr 18th, 2008
Replies: 7
Views: 689
Posted By helraizer
Yeah, replace


addslashes($_POST['username'];


with


mysql_real_escape_string($_POST['username'];
Forum: PHP Apr 17th, 2008
Replies: 7
Views: 689
Posted By helraizer
There's something wrong with your connecting to the database then..


$connection = mysql_connect($dbhost, $dbusername, $dbpassword);
$db = mysql_select_db($dbname);


make sure you've spelt...
Showing results 1 to 40 of 48

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC