# Passing long text through php url

**URL:** <https://forum.kirupa.com/t/passing-long-text-through-php-url/183375>\
**Category:** Uncategorized\
**Created:** [March 26, 2006, 1:55pm UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375 "2006-03-26T13:55:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tariqrf](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tariqrf](https://forum.kirupa.com/u/tariqrf)\
**Post date:** [March 26, 2006, 1:55pm UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/1 "2006-03-26T13:55:54Z")

</div>

Reading from database.

---

<div class="post-metadata">

**Author:** ![sed\_thh](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@sed\_thh](https://forum.kirupa.com/u/sed_thh)\
**Post date:** [March 26, 2006, 8:15pm UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/2 "2006-03-26T20:15:31Z")

</div>

1. why not passing vars via POST method
2. are you sure the text is url-encrypted?
3. make sure that the database CAN handle large text files (change the type of the table from small text to long text etc)

---

<div class="post-metadata">

**Author:** ![tariqrf](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tariqrf](https://forum.kirupa.com/u/tariqrf)\
**Post date:** [March 27, 2006, 1:50pm UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/3 "2006-03-27T13:50:15Z")

</div>

Reading from database.

---

<div class="post-metadata">

**Author:** ![sed\_thh](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@sed\_thh](https://forum.kirupa.com/u/sed_thh)\
**Post date:** [March 27, 2006, 7:49pm UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/4 "2006-03-27T19:49:57Z")

</div>

so how about just cutting the string half and post both parts? 😃

---

<div class="post-metadata">

**Author:** ![tariqrf](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tariqrf](https://forum.kirupa.com/u/tariqrf)\
**Post date:** [March 28, 2006, 2:35am UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/5 "2006-03-28T02:35:02Z")

</div>

Reading from database.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [March 28, 2006, 2:41am UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/6 "2006-03-28T02:41:44Z")

</div>

They use POST variables, rather than GET variables in the server request. It has the variables inside the request message, rather than in the URL file request.

You should do that. 😉

---

<div class="post-metadata">

**Author:** ![sed\_thh](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@sed\_thh](https://forum.kirupa.com/u/sed_thh)\
**Post date:** [March 28, 2006, 1:41pm UTC](https://forum.kirupa.com/t/passing-long-text-through-php-url/183375/7 "2006-03-28T13:41:34Z")

</div>

instead of $\_GET[‘whatever’] (index.php?whatever=something) you use $\_POST[‘whatever’]

if there is a variable declared in flash with the name of whatever, you’ll be able to get its value from php after sending via the post method

keep in mind that by using the post method all variables will be sent and will be able to access that are in the same level/movieclip  
you can specify which vars to send by simply adding them to an empy mc and evoke the function from that mc

hope it helps tough
