Can i login with my twitter account?

I have little knowledge of Flash but for a little Flash game I have to store score and successful tries of users in a database using PHP. Now the Flash runs locally on the users computer and connects to a remote server. How can I secure against manipulation of game scores. Is there any best practice for this use case?

2 ANSWERS

February 16, 2017 at 9:57 am admin

What you are asking is inherently impossible. The game runs on the client and is therefore completely at the user’s mercy. Only way to be sure is running a real time simulation of the game on the server based on user’s input (mouse movement, keypresses), which is absolutely ridiculous.

February 16, 2017 at 10:00 am admin

I would imagine it only looks in the current working directory – See http://uk3.php.net/manual/en/function.getcwd.php if you want to know what that is.

You can always find a path relative to your application by basing it on $_SERVER[‘DOCUMENT_ROOT’]

February 16, 2017 at 10:00 am admin

The filename argument for parse_ini_file is a standard php filename, so the same rules will apply as opening a file using fopen.

You must either specify an absolute file path (“/path/to/my.ini”) or a path relative to your current working directory (“my.ini”). See getcwd for your current working directory.

Unlike the default fopen command, if a relative path is specified (“my.ini”) parse_ini_file will search include paths after searching your current working directory. I verified this in php 5.2.6.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Some of our services that will useful on regular basis:

Book Tours & Activities

Access to a thousands of activaties in Costa Rica. Everything from Adventure, Arts and Recreational Activities.

Tranportation Bookings

Booking your trasfers has never been easier. Look up available destications, times and get instant confirmation with just a few clicks.

Investments

Great resource for those who are looking for business and investment opportunities for residential and commercial real estate.

Online Shopping

Shop Online for Costa Rica made products and services. Find Unique and one of kind items.

Services Bookings

Make reservation at your favorite locations and events.

Hotel Bookings

Get access to all the hotels in Costa Rica. Check availability and book

Vacation Rentals

Search all the available vacation home rentals in Costa Rica.

Book A Table

We make it easy for you to make a reservation with your favorite place.

Order Food

Place your oder online and have your food deliver to your location. Restritions apply.

Flight Booking

Look for best deals and book your flights with us.

Rent A Car

Quick, easy online car reservations for Costa Rica.

Bank / ATM

Locate Bank and ATM information

Doctors Appointment

Schedule your appointmens directly with our participating providers.

Spa & Salon

Book your spa and salon treatments directly with our participating providers.

Offers | Promotions | Hot Deals

Explore best offers, promotions and hot deals with AskZipy.

On Demand Services

Book your on damand services directly with our participating providers.

Jobs

Looking for work, search our site to find business who are looking for talent to join their teams.

Photo Album

View photos form all the Ask Zipy adventures and activaties.

Emergency Services

Locate Emergency services locations and contact information.

FAQ

Search our list of faqs to the most common questions people have when visiting and working in Costa Rica.

Order Groceries

Shopping for groceries has never been easier. order your groceries and have them delivered to your location.