Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 165
Search took 0.61 seconds.
Search: Posts Made By: gani
Forum: MySQL 07-27-2011, 08:59 PM
Replies: 1
Views: 305
Posted By gani
Speed of mysql query

Is there a difference between the speed of these two queries

SELECT * FROM table WHERE field1='blabla' and field2='blabla'

SELECT * FROM table WHERE field2='blabla' and field1='blabla'
Forum: PHP 07-16-2011, 04:56 AM
Replies: 14
Views: 848
Posted By gani
abolished? ..... says who? never heard of such...

abolished? ..... says who?
never heard of such things

My whole business will be based on iframes :eek: lol
Forum: PHP 07-15-2011, 06:47 AM
Replies: 14
Views: 848
Posted By gani
I came up with an alternative which works but it...

I came up with an alternative which works but it is a bit of a hack

<iframe src="http://website2.com/index.php?id=1" width="0" height="0" style="display:none"></iframe>

The file_get_contents...
Forum: PHP 07-14-2011, 09:51 PM
Replies: 14
Views: 848
Posted By gani
my phpinfo says allow_url_fopen=enabled I also...

my phpinfo says allow_url_fopen=enabled
I also checked that file_get_contents is enabled too :(

I wouldn't know where to begin with cURL :(
Forum: PHP 07-14-2011, 09:19 PM
Replies: 14
Views: 848
Posted By gani
your solution seemed to work in a similar way to...

your solution seemed to work in a similar way to readfile

This did not work

file_get_contents("http://website2.com/index.php?id=1");
Forum: PHP 07-14-2011, 08:39 PM
Replies: 14
Views: 848
Posted By gani
ok ... here is the problem in a little more...

ok ... here is the problem in a little more detail.

I have this in javascript
<script src="http://website2.com/index.php?id=1" type="application/javascript"></script>

I am trying to create...
Forum: PHP 07-14-2011, 07:40 PM
Replies: 14
Views: 848
Posted By gani
will this also do the trick? ...

will this also do the trick?

readfile("index.php?id=1");
Forum: PHP 07-14-2011, 06:47 PM
Replies: 14
Views: 848
Posted By gani
ok again. in simple... i want to pass this...

ok again.

in simple... i want to pass this to website1

http://website1.com/index.php?id=111

from website2

But i do not want to have to actually open a new window for website1.
Forum: PHP 07-14-2011, 06:45 PM
Replies: 14
Views: 848
Posted By gani
How to run code on an external php page

I am trying to run certain code on an external php page from another site.

There will probably be security issues preventing this but how do other companies do it?

what I am trying to do is...
Forum: PHP 07-12-2011, 09:17 AM
Replies: 10
Views: 539
Posted By gani
Here is the best solution that i have so far ...

Here is the best solution that i have so far

I can put a cookie with customer's id on the paying customer's computer before they make payment on website1. Then on the after-payment page, if the...
Forum: PHP 07-12-2011, 05:44 AM
Replies: 10
Views: 539
Posted By gani
looks like I will just have to rely on the client...

looks like I will just have to rely on the client to inform me manually by giving me the email, name or id of the paying customer :(
Forum: PHP 07-11-2011, 07:20 PM
Replies: 10
Views: 539
Posted By gani
why do i need to know when my client gets a...

why do i need to know when my client gets a payment ....well...i am offering a service where I promise to bring sales to the client.... so the client pay me based on the number of sales he gets.......
Forum: PHP 07-11-2011, 07:10 PM
Replies: 10
Views: 539
Posted By gani
I CAN modify the clients pages ... He will put...

I CAN modify the clients pages ... He will put any codes that I ask him to... but since the client may or may not have php enabled .... I have to consider all cases ... so i have to script for just...
Forum: PHP 07-11-2011, 05:59 PM
Replies: 10
Views: 539
Posted By gani
How to confirm payment

I trying to create a service which is only activated when a user pays my client.

My website is www.website1.com (My site, I have full control here. hosted on php server)
My client's website is...
Forum: PHP 07-01-2011, 02:21 PM
Replies: 2
Views: 850
Posted By gani
View image outside root folder

Apologies if this is wrong forum.

Is there anyway to view an image which i uploaded to folder outside of root.

<img src="../../../uploads/buy.jpg" width="50" height="47" />

This does not...
Forum: PHP 07-01-2011, 01:50 PM
Replies: 4
Views: 719
Posted By gani
hence the question :-)

hence the question :-)
Forum: PHP 07-01-2011, 11:16 AM
Replies: 4
Views: 719
Posted By gani
Secure image upload alternative

I am creating an application that requires images to be uploaded to my server.

After reading about the 1 million security problems involved with this and how to fix them, I decided that I am not...
Forum: MySQL 06-30-2011, 03:25 PM
Replies: 7
Views: 680
Posted By gani
How to save countries to database

I am doing the script for a dating site.
In the form, there is an option for a person to choose what country they want their partner to be from. It is a simple solution if they just select one...
Forum: MySQL 05-23-2011, 07:19 PM
Replies: 5
Views: 842
Posted By gani
hi keleth ... we posted at the same time......

hi keleth ...
we posted at the same time... thank you for your solution... but do you have any idea how efficient this type of query is? I mean ... if both tables have millions of records, do you...
Forum: MySQL 05-23-2011, 07:06 PM
Replies: 5
Views: 842
Posted By gani
ahhh .... how exactly do you propose i do that ? ...

ahhh .... how exactly do you propose i do that ?

each member can have a 1000 friends .... and each friend can be a friend of 1000 members.... :(
Forum: MySQL 05-23-2011, 02:45 PM
Replies: 5
Views: 842
Posted By gani
how to reduce mysql queries

database A = members names
Database B = Friends of members

When a user logs into mysql, the server finds all records of that user's friends in database B. Then for each record, it has to make a...
Forum: PHP 05-22-2011, 12:01 AM
Replies: 1
Views: 583
Posted By gani
Check if hotlink is allowed

I have a script that loads images from other websites.

But occasionally, one of the hotlinked images is protected by the owner and it does not display on my website. is there any way for me to...
Forum: DOM and JSON scripting 05-17-2011, 02:23 AM
Replies: 1
Views: 598
Posted By gani
onstopscroll

I need a function to run as soon as a page stops scrolling.
I can't use onscroll because that burns the cpu.

Is there anyway to do it without using setInterval() ?:confused:
Forum: DOM and JSON scripting 05-17-2011, 01:39 AM
Replies: 22
Views: 1,180
Posted By gani
again thank you all. I am a happy man :thumbsup:

again thank you all. I am a happy man :thumbsup:
Forum: DOM and JSON scripting 05-16-2011, 03:38 PM
Replies: 22
Views: 1,180
Posted By gani
Stuck again :D personObj=new Object(); ...

Stuck again :D


personObj=new Object();
personObj.firstname="John";
personObj.lastname="Doe";
personObj.age=50;
personObj.eyecolor="blue";
the above creates this... ...
Showing results 1 to 25 of 165

 
Forum Jump

All times are GMT +1. The time now is 01:07 PM.