PDA

View Full Version : Should I use asp.net or php


Idrees
Dec 24, 2008, 02:10 AM
I want to make a matrimonial website, I am not sure weather to use asp, asp.net or php. Webhosting service provider told me that there is a limit of 10 MB of database space if I use asp.net after that I'll have to pay more and I can use up to 500MB of database space if I use php as it is free. I want to use a dll file's program to break picture in different pieces. So please tell me can php read from a dll file and how can I decide that weather to use asp.net or php.

StaticFX
Dec 24, 2008, 06:34 AM
I think you can call a dll in php... it would be something like this.

say your dll is called test.dll
and say it has a function called show_words()

here is the function:

Public Function show_words() As String
show_words = "Here are some words!!"
End Function

then in the php

$obj = new COM("test.dll");
$output=$obj->show_words();

echo $output;


now I'm NOT positive... a php expert would need to verify this... but I think I have seen it done like that.

Idrees
Jan 1, 2009, 01:11 AM
Thank you very much for your answer. But I also want advice from you that whether I should make my website in php or asp or asp.net. Please advice me.

StaticFX
Jan 2, 2009, 06:44 AM
I think its really comes down to which you are more comfortable working with. Both have pluses and minuses.

I think if you really want to use dll's then I would go with asp.net.