dr4g 25 Junior Poster

The issue is definetley connecting to the mailserver.

I agree trying a public SMTP server.
One i know of is: smtp.blueyonder.co.uk (Port: 25. SSL: No)

Let us know how u get on.

Cheers

dr4g 25 Junior Poster

Check your phpini setting "max_execution_time". that can affect your uploads.

Goodluck!

dr4g 25 Junior Poster

Yes i was about to recommend WAMP for yourself.

WAMP easily configures the above services together. You can set it to "offline" or "online" so that you can work from "localhost" or have it accessable from the interweb.

I use it daily when i don't have internet access, i can do development at my local PC with apache/php/mysql setup on an XP machine.

Goodluck!

dr4g 25 Junior Poster

As soon as they hit your site set a cookie regardless of what page they enter from. Don't check for it right away though. Some people will just want to browse and that's fine. But as soon as they try to use a feature that requires cookies look for the cookie you set. If it isn't there take them to a page that explains why they need to have cookies enabled.

I recommend this method too.
It's simple yet effective, without too much complexity or code to be done.

1) Set a cookie when user visits site.
2) If they try to do something which needs cookies, check if the cookie exists.. if it doesn't they don't have cookies enabled.
Thus take them to the "cookies required" page.

Cheers.

Welldone stymiee, nice logic ;)

dr4g 25 Junior Poster

Assuming your database is mySQL.
You will need your mySQL server to be on the internet (accessable by IP Address).

You can set 'priveladges' within PhpMyAdmin..
To set the specific HOSTS to accept incoming connections from.
eg: localhost or 82.40.41.133

Very simply proceedure to do with PhpMyAdmin.

Cheers.

dr4g 25 Junior Poster

yes that's the problem then! lol that code either shouldnt be there! it's not valid PHP, if its a valid mySQL function it will need wrapped in a mysql_query() statement :)

Welldone Mitko for spotting it ;)

dr4g 25 Junior Poster

What is exactly line 7 within your .php file?
It's just a syntax error, and can be worked out momentarily for you :)

Cheers.

dr4g 25 Junior Poster

Yes.. because within a function, it has it's own scope issues, if you use the global keyword, you can access vairables/stuff outside the scope of this function.

Thus, doing a global of your $outside vairable, makes it local within your function.
However, if you change the value of $outside, it will be changed globally, not locally in the function...

Another method would be passing the $outside variable as a paramtere to the function like so..

$variable = "hello";
 
function printme($variable) {
 
    print $variable;
}

Any questions. just ask.
Cheers.

dr4g 25 Junior Poster

okey, that helped me not to get the error thing, instead a have now empty page after inserting name and email to the imput zones...

my questions are now..
1. Have I had to do already tables and shit on the db called "test" or the script does them self?

2. How can I make this scrip work properly so that insteas of the empy page I got the boss rating thing.. I think my query isn“t working, am I right?

Thanks for those who have helped me so far...

Can you post your initial post please?
I can't see the initial post you're referring to.

dr4g 25 Junior Poster

Ok maybe someone can see something im missing (its driving me in sane)

$query = mysql_query("UPDATE user SET meso='1' WHERE uid='$this->user'");
        $nrows = mysql_num_rows($query);
        $ret = mysql_query($query) or die(mysql_error());

this returns:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /Applications/MAMP/htdocs/worldjam/wjm.php on line 16
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1

what am I doing wrong?
Thanks in advanced
Tom

Try storing your query in a string. like the following.

$sql = "SELECT x FROM y";
$ret = mysql_query($sql) or die(mysql_error());
$numrows = mysql_num_rows($ret);

theres an error in your query, which is not returning a valid result resource to your $query variable.
That is why your num_rows function is giving error.

Put your query into a string, and echo the string, so you can see if your variables are working ok.. and so on.

If you're still having bother, tell us what your query echo displays.

Cheers.
Drag.

dr4g 25 Junior Poster

They're both Server-Side languages, either will do. I just prefer PHP because it's open source :)

dr4g 25 Junior Poster

What's that? he doesn't have any external devices. That's the point here. Not my other posts.

dr4g 25 Junior Poster

You will need to modify the SAM file on the system that is locked out. To do this you can use knoppix, which is a bootable linux os. Follow the directions in this link . I would highly recommend before you start modifying files you backup your computer using knoppix to an external usb drive.

You didn't read the thread either zelkea.
He doesn't have a CD-ROM of Floppy drive.
Jeez.

dr4g 25 Junior Poster

He's obviously not read the whole thread.

dr4g 25 Junior Poster

sounds pretty nacked.
i recommend just formatting and reinstalling the OS.

dr4g 25 Junior Poster

Just a Tip for you, as you're new to PHP.
Once you've written to the txt file and want to get all the info from it again.
You can use the file_get_contents() function to store the file's contents into a string.
Example:

$str = file_get_contents("file.txt");
echo $str;
 
Drag....
dr4g 25 Junior Poster

Right. cool.
So, my method would work continuously,
without someone viewing the page.

Yours would only work if someone had the script open.

So it's up to you maninweb. Either will work, it just depends on how you want to do it.

dr4g 25 Junior Poster

Sounds like it's pretty nacked then.
I recommend formatting the drive and reinstalling your OS.

dr4g 25 Junior Poster

I'm afraid i've never done that, so i wouldnt know.
Plug it in, and find out.
Either your BIOS will pick it up.
Or the OS will pick it up as removable storage.

dr4g 25 Junior Poster

Yep. AJAX would be more dynamic and professional.

Loading everything on the fly intially, would be less server-intensive.

Either will do :)

dr4g 25 Junior Poster

Thanks for helping, i am still facing the similar problem over 1 year.........

will try to get the info u stated above.

If you answer the questions i asked above, i can help you further.

dr4g 25 Junior Poster

I was actually referring to jbennet, but nevermind :)

dr4g 25 Junior Poster

Yeh, you're probably better keeping everything at the server side.

dr4g 25 Junior Poster

Well at least w_3rabi has fixed your initial mysql_num_rows() error !.

It's onto a new error now.

dr4g 25 Junior Poster

Or you can simply ad

header('refresh:10; url=same_page.php');

Once this is setup and we go to the script URL.
this header() function will active.

Will i run in a continuous loop forever? or only if the script is being viewed by a user.

Secondly, if this is running in a continuous loop.
how can we stop the execution ?

Drag...

dr4g 25 Junior Poster

You've missed out a few critical DLL's that will help you with your SSL fix.

vbscript.dll
jscript.dll

Do them as well as wintrust andsoftpub again.

And try loggin into a secure site.
Let us know how you get on.

dr4g 25 Junior Poster

Yes that's pretty obvious.

dr4g 25 Junior Poster

USB drives are designed for compatibility and plug n play.
Is the drive you're referrring to a USB drive or an IDE drive that you're building your own case for?

Nonetheless, plugging an IDE HDD into a windows machine it will pick it up right away.
You may need to choose "update devices" in the BIOS if its not picking up the hardware changes.

dr4g 25 Junior Poster

For Servers. Linux blows Microsoft out of the window, hands down. Offering stability, security and maintainability.

Windows can be setup in 10 minutes, but as stated above, will give you numerous problems and issues.

dr4g 25 Junior Poster

Yes. you're looking to grab and STORE the IP Address of the client that's viewing the website.
This can be found at $_SERVER in the PHP language.

You're looking to have some kind of database to store all the previous IP's that have been entered, so you know if they've been to it or not (by referring back to the database each time).

dr4g 25 Junior Poster

Yes setting up dyndns is a good solution.
Even better, you can use www.no-ip.com.
This comes with an 'auto update tool'
Which will update your IP to the domain name you've bought.

Thus, you can
1) have your server running from home.
2) have your domain point to your no-ip.com address which will point to the IP of your machine.
3) you have an auto update tool to update your no-ip.com address when your IP changes.

dr4g 25 Junior Poster

We will wait and see. :)

dr4g 25 Junior Poster

I recommend formatting your hard drive and installing XP SP2 from fresh.

If you're on a machine with SP1 and you're getting numerous infections, good chances are you're not going to get rid of them, especially running Norton.

Secondly, the virii were found in the System Volume Information section.
As far as i'm aware, this is related to the System >Restore< directory.
Thus if you have infections in your restore directory, you're always going to be infected no matter how many times you restore the machine..

Conclusion.....
Wipe the damn thing, it seems riddled as it is. and start from fresh, if you have documents..etc upload them to a public FTP or email them to yourself.
backup utils will probably backup virii too. ;)

dr4g 25 Junior Poster

Sounds about right, i was unaware that you tried a direct connection.

dr4g 25 Junior Poster

NOTED: (From the other thread that it's to visuss).

I generally only look at the last thread, i'll look more thorough from now on

dr4g 25 Junior Poster

oh apologies. no name was stated, so i just guessed since it seemed you were stalking me in over 6 threads in 5 minutes :P

dr4g 25 Junior Poster

Optimization is implied, especially for procedural programming. No-one will write 10 lines of code of they can write one.

And i agree, my lecturers gave silly exercises out, and you werent allowed to use the standard methods that you'd normally do.
Pain in the butt if you ask me.

dr4g 25 Junior Poster

I was just concentrating on the last post, which was 1 day ago.

dr4g 25 Junior Poster

I've been using Linux for a very long time jbennet. and i've never had any issues with writing to a NTFS file system.
Most of the reading/copying done in Slackware. No issues arised.

dr4g 25 Junior Poster

Could you tell us how you re-registered your ssl libraries. And we can take it from there.

dr4g 25 Junior Poster

If your having ongoing problems with your connection at the PC end.
It's possible that your TCP/IP Stack has become corrupt.

XP SP2 users can type "netsh winsock reset" in command prompt, which will flush the TCP/IP stack, and you'll need to reboot your machine.
Lots of long-winded information here. Try that, and let us know the results.

Drag.

dr4g 25 Junior Poster

I had connected to a wireless network via my lapto.

but, it show Limited or No Connectivity...

and i cant do anything with it....

Anyone knew what it the problem??

We need to know what type of modem you have, who is your ISP.
What OS and Service pack are you using.
Is DHCP client enabled in Services.
Is TCP/IP configured correctly.
Are you getting a 169 IP address with your limited or no connectivity.
Have you tried turning on your modem first, then the PC?

Explain all above points to give us a better description of your setup and your problem.

dr4g 25 Junior Poster

Your router is causing the issue.
BitTorrent opens ports on your machine and listens for connections from peers/seeders.

You're looking to use, not the offical BitTorrent client, but something like BitLord or BitComet. (stay away from Azureus).

So if your trying to torrent, you're going to experience slow speeds and intermittent performance, as the router is blocking 90% of the ports the Torrent client is wanting to open/use.

Temp Fix.. Don't use router for Torrenting.

jbennet commented: thanks, tried it but to no avail :( why stay away from azerous anyway? +12
dr4g 25 Junior Poster

You could try resetting IE6 back to factory settings by going to.
Tools --> Internet Options --> Advanced (Tab). Click "Restore Defaults".
Then Go To. Programs (Tab) Click "Reset Web Settings".

Restart IE... If that doesn't work.

it sounds like you'll need to do a system restore or format the drive and reinstall your Operating System.

dr4g 25 Junior Poster

Restoring IE7 back to factory settings may solve any IE7 corruption thats taken place.

THIS WILL WIPE ALL
HISTORY/FAVOURITES..etc

What a i can advise you to do, is to go to.
Tools --> Internet Options --> Advanced (Tab).
Choose "Reset" button. Close down IE7 and Start it back up again.


Try it then. Any further issues just reply.

dr4g 25 Junior Poster

It's the language of the website itself! or the language pack on your PC not installed correctly.

If you don't have any joys with that. reinstall firefox, it may help clear things up.

dr4g 25 Junior Poster

As stated above. When an application installs. it wirtes itself to the Program Files folder. However it takes information from your machine + existing Registry information.
And generates it's own registry information.

If you wipe your machine or restore it. You're wiping/changing the windows registry.
Thus the files that are copied previously, try to work with the windows registry and won't be able to as its not in the same state as it was when it was installed.

dr4g 25 Junior Poster

I have the same problem, where can I find that modem driver!!! pls help.

As you can see, if you follow that above link it has "800/M800/MC810/MI811". listed. Thus if your modem is any of those types. then you're sorted.

dr4g 25 Junior Poster

Use Linux! :)

What you COULD do. is; if you have Linux knowledge.
Run a live CD (such as Ubuntu).
Mount the windows HDD from ubuntu,
browse the internet. download firefox for windows and save it to the windows HDD.

Then you can boot up windows and you'll have firefox there. And all your IE problems should be fixed.

If you're not familiar with Linux. get Firefox on CD/Flash drive from another machine. and put it on that way.

PS: IE7 can be uninstalled from Add/Remove programs, after doing so IE6 will become active again.

dr4g 25 Junior Poster

Get an external CD drive, plug it in with USB.
From there you can load up your hack disk and reset the passwords.

USB drive will work, you need to setup your boot order to boot up from USB before HDD or floppy or CD-ROM.