-
Posts
1,285 -
Joined
-
Last visited
Never
Everything posted by ohdang888
-
hmmmmmmmm i'm slightly confused as to how to do this then.... I'm building a simple application platform. The app has to pass html to me, and i'm using: simplexml_load_file($api_url.$string); Facebook platform has a similar function that passes sometimes large amounts of html to the api. How would this be done over post? I know i could use cURL, but then i don't get the quick xml set up from simplexml_load_file Thanks!
-
i'm passing html via the url... so i have something like this: <?php $code = "<center> blah blah blah"; $code = urlencode($code); echo "<a href='index.php?code=".$code."'>Go</a> "; ?> and on index.php i store urldecode($_GET['code']); in a databse it works fine, but i found a really weird error. After long trail and error and testing strlen($code), i discovered that the process only works if the $code is 512 characters or less. After that, it doesn't work. it doesn't store ANYTHING in the database. No errors, everything says its working, but its not. Once it gets to 513 characters or more, just stops. My table field i'm inserting it into is a LONGTEXT, which can store 4 trillion bytes, so that's obviously not the issue. Any ideas? Thanks
-
i have more trouble naming a site than actually building one. this is sad.
-
not having problems now but i'm building an app platform and im just making sure it wont be a problem later... i'm not expecting the site to get many members, its just that it has a lot of sql in it
-
oh alright. So in a sense, it could technically be even more inefficient to have a 2-database system because of the "db_select" function that has to be called for each database switch?
-
so efficiency is increased by having 2 or more MySQL users rather than 1 all privelage one???
-
I've got a question on efficiency....Is there a benefit to making your site use several databases... in other words, say you have a good-sized site...does it lighten the load and increase mysql speed if the site uses several db's instead of using 1 large database. thanks.
-
once again, not specific enough... wanting to change text??? thats not php, thats html
-
iTweetReply - Get your twitter @replies email to you
ohdang888 replied to matthewlesh's topic in Website Critique
looks like an mac application... too much empty space below "ABOUT" section.... and bottom of page looks....just different, like it doesn't fit in -
paypal has a good developer tool as well
-
idk, but just curious...would sleep() really ever help the server load?
-
you have to be more specific or we can't help
-
oohhhh nvm i can urlencode and urldecode it nvm!
-
i want to echo HTML inside my XML document... what do i put around it to my xml parser recognize it as content, not XML google isn't helping thanks
-
[SOLVED] pass longggg variables through GET
ohdang888 replied to ohdang888's topic in PHP Coding Help
ya thanks i'll look into that function... i'm building an app platform -
i have a long variable with HTML and special characters that i want to pass through a url. I'm going to store that var in my database after i clean it with mysql_real_escape_string, strip_tags(with some allowable tags), and add_slashes to it but the problem i see is the id="blah" or class="blah" tags in the html....like it will break it up... is there something i can wrap around it to keep it intact... like ?var={HTML HERE} ?????????? thanks!
-
but its worked before this way
-
i have a file called list.csv (below), and i am uploading it into a table with this structure: id, fn, ln, user_id, updated when i try to upload my .scv file through php my admin, i upload it, click "CSV" and for column names put "fn, user_id" and click upload. And its returning the following error: Invalid field count in CSV input on line 1. Whats wrong? Thanks! list.csv: Bob, 345275 Tim, 2547354 Test, 5763
-
what host is that revraz???
-
i know there's a topic already for suggesting hosts. I'm just wondering what your experience has been with cheapers hosts.... 3ix.com has a plan for $3 a month that i like.....but i heard in forums theres really no such thing as "unlimited bandwidth" your thoughts?
-
this is a very general question
-
i am using $content = file_get_contents('http://google.com') to grab the html of a page. I am looking for a specific html code, for example, "<td class='right_column'>", which the documents contains several times. Is there a way to look through the html grabbed in $content, and grab out all the content of <td class='right_col'>, which i assume would each be an element of an array!??!?!?!?!? thanks!!!!
-
whoa i love the first one. Any plans to make the design code open source??? I would love some of those looks on my site awesome job.
-
opps, accidently pressed quote, rather than modify, now this post too is modified. blah.