Salta al contenuto

Coding

17.9k Discussioni 86.7k Post

PHP, HTML, CSS, MySQL, Javascript, Python e tutto il resto

  • Popup animati

    Spostato
    1
    jokerinos
    0 Votazioni
    1 Post
    574 Visualizzazioni
    Nessuno ha risposto
  • Mysql condivisione database con piu domini

    Spostato
    4
    sovietiko
    0 Votazioni
    4 Post
    3k Visualizzazioni
    Di niente, figurati!
  • scorrimento foto orizzontale

    Spostato
    1
    renato65
    0 Votazioni
    1 Post
    1k Visualizzazioni
    Nessuno ha risposto
  • caricare google maps in real time

    Spostato
    2
    ziobudda
    0 Votazioni
    2 Post
    746 Visualizzazioni
    Ho trovato il modo per fare il debug e nel codice HTML che viene interpretato dal browser mobile comprare (in coda al body) il caricamento del JS. Non capisco pero' perché non vada. M.
  • php e tinymce problema di salvataggio dati

    3
    dragon
    0 Votazioni
    3 Post
    5k Visualizzazioni
    Dragon Il mio problema è che sostituisco tutti gli apici (o le ") con il codice relativo (" o simile) mi rimpiazza anche quello che non dovrebbe quindi la chiamata ad eventuali funzioni javascript viene "annullata".[...] Ciao Dragon, ti consiglio di usare la funzione $content=mysql_real_escape_string($_POST['content']); quando prendi in input il tuo articolo. In questo modo ai caratteri "problematici" (\x00, \n, \r, *, ', ",\x1a) viene fatto l'escape aggiungendo un backslash e php non li vedrà più come caratteri speciali.* Facci sapere, Luca
  • FullCalendar

    Spostato
    1
    marc78
    0 Votazioni
    1 Post
    594 Visualizzazioni
    Nessuno ha risposto
  • Archivio in php

    3
    biagiosurace
    0 Votazioni
    3 Post
    1k Visualizzazioni
    Grazie per la risposta ,ma forse non mi sono espresso bene. Avrei bisogno di un script completo per come poter selezionare per anno e mese le news già inserite ne db Grazie Biagio
  • Da file.txt ad array multidimensionale

    4
    azureangel127
    0 Votazioni
    4 Post
    1k Visualizzazioni
    G gan
    azureangel127 Inizialmente l'array ha questa forma: $shop = array( array(370, 0),array( 520, 0),array(990, 0),array(1633, 0)} Poi salvo l'array in un file di testo chiamato shop.txt. A questo punto nel file di testo si forma la seguente stringa: 370 0 , 520 0 , 990 0 , 1633 0 , il mio problema è che non riesco più a tornare all'array di partenza Ciao, se puoi intervenire sul codice php che crea il file shop.txt ti consiglio di salvare l'array utilizzando la funzione serialize (php.net/serialize) in questo modo nella seconda pagina puoi leggere il contenuto del file e, attraverso la funzione unserialize (php.net/unserialize), ottenere l'array originale. se non hai modo di intervenire sul codice che crea il file shop.txt prova questo codice: // arrOuput conterrà l'array originale $arrOutput = array(); // legge il file shop.txt $strContent = file_get_contents('shop.txt'); // crea un array per ogni coppia di valori separato dalla virgola $arrContent = explode(",", $strContent); // rimuove gli spazi da ogni elemento dell'array $arrContent = array_map('trim', $arrContent); // cicla le linee del file foreach ($arrContent as $strLine) { // memorizza i valori separati da spazi in un array $arrParts = explode(' ', $strLine); /* rimuove gli spazi da ogni elemento e assegna il risultato ad un nuovo elemento di arrOuput */ $arrOutput[] = array_map('trim', $arrParts); } // $arrOutput contiene l'array originale var_dump($arrOutput); Spero ti possa essere utile
  • Errori parziali upload foto in fomato jpeg

    1
    etruss
    0 Votazioni
    1 Post
    842 Visualizzazioni
    Nessuno ha risposto
  • jquery e xhtml

    Spostato
    3
    gisky80
    0 Votazioni
    3 Post
    1k Visualizzazioni
    Ciao Sandroid e grazie per avermi risposto! Credo di aver omesso un piccolo particolare molto rilevante......non uso wordpress ma un sito fatto con del codice xhtml e css percio' volevo sapere come poter utilizzare il plugin di jquery popeye nella mia pagina web. Spero di essere riuscito a far capire il mio problema....!! Grazie ancora.
  • Inserire font in pdfcreator

    Spostato
    1
    db.51
    0 Votazioni
    1 Post
    2k Visualizzazioni
    Nessuno ha risposto
  • Script SocialBar

    Spostato
    2
    Un Ex Utente
    0 Votazioni
    2 Post
    649 Visualizzazioni
    Forumcommunity, in quanto Hosting "Free", filtra molti script ed in ragione di cio' il problema potrebbe essere proprio quello. L'unica cosa che puoi fare è chiedere assistenza al loro supporto per avere dettagli più precisi. Saluti.
  • margini a sinistra e superiore

    Spostato
    3
    clinicalbear
    0 Votazioni
    3 Post
    1k Visualizzazioni
    Ciao, mi correggo, non è il background che mi tiene il margine ma l'overlay e le altre classi. qua sotto il css body { background:url(../images/bg-ven.jpg); width:100%; height:100%; position:absolute;} .header {background:none; position:absolute; width:100%; height:200px;} .overlay {background:green; width:100%; max-height:80%; opacity: 0.60; box-shadow:2px 2px 6px #000000; top: 150px; float:left; position:fixed; clear:both; position:fixed;} .content {background:#ffffff; box-shadow:3px 3px 7px #000000; margin-left:15%; width:70%; height:auto; min-height:650px; border-radius:10px;}
  • Controlli prima dell'inserimento in un database

    4
    gepeppe
    0 Votazioni
    4 Post
    1k Visualizzazioni
    Si puoi fare in quel modo.
  • kerbebe Spam

    Spostato
    4
    kerbebe
    0 Votazioni
    4 Post
    924 Visualizzazioni
    ?Sometimes, having people who listens and can be quite a guiding influence makes all this difference.Coaching for weightloss works to help you and open up your own personal thinking to enable you to find that solutions of which work best for everyone. Coaching for weightloss is tailor made to assist you release any your weight is usually quite effective.Your coach will work with you to guide you figure released why you may be holding about the weight to start with.Have you ever reckoned, Why find it difficult to I shed weight? I really don't eat hat much.Many individuals suffer within the same condition.They extremely dont eat quite definitely, and yet still cannot burn the body weight.This happens because often, the weight will be held by means of for sentimental reasons.Coaching will help you find away whats really having underneath the outer and make hidden changes, carefully, and always make sure that the shifts are over the long run. Having some sort of coach by your side will aid you gain the understanding what is basically going with.Once you have the awareness that could be only as well as.Next, your coach are fine with you hand and hand in liberating any adverse emotions, setting new and noble goals for a health and wellness, and even more importantly, being there at hand detail by detail.Once everyone start getting your pursuits, you should notice both your own self esteem and your outer self confidence growing. Weight complications have a whole lot to accomplish with over emotional baggage together with stress.The emotional issues are the reasons why people select food with regard to comfort.Once you've found out what all the emotions are generally, you will have the choice in order to let these individuals go, having any support to your coach completely.Coaching for fat burning is focused on you meeting weight loss objectives and publishing any extraneous baggage. You can find other aspects to keeping a good lifestyle.Coaching for fat loss also contact eating and even exercise routines.If you ought to keep that weight away, you will have to build helpful exercise habits and even good eating style.Your coach will help you set any plan that could be inspiring for you and works in your own lifestyle.Know whoever has never exercised throughout their life, and then out of the blue decided to lift weights 5 times a week? This cannot last.Its too big a improve, too eventually.Coaching lets you find ways you will stick to your commitment.Its going the length that regularly makes that difference There could be times at the time you might feel a bit low, or want to stop, thats when coaching for fat loss makes the difference.Your train will tune in to you, and supply you with the support any time you most want it.That the commitment of good coach.Slimming down can be challenging, and possessing a coach to support you completely will allow it to easier and aid you in preparing succeed. Self-confidence is an incredible component in weight obtain.In my best coaching working experience, I have found that the majority of people seeking to release weight have tried an difficulty or couple of with self-confidence.Sometimes, taking care of the self-belief is enough to get your excess weight coming out.Its up to a skilful coach pinpoint what exactly is going on, and then manage you for you to heal the issues.Sometimes, you may know that you choose to dont look and feel too very good about by yourself, but recognizing something is probably not enough, its restoration through it that produces the significant difference.A fat loss coach can certainly help improve confidence by rooting deeper into the real grounds for your difficulty with weight.You'll have coaching either head to head or over the telephone, according to your situation. If you will havent thought about having a few coaching for weightloss to assist you release that excess weight, it would be a good time to give it a go.Its an investment to operate an effective health and well being.You should reap the extensive benefits for some time to arrive.
  • problema con la FAVICON, non si vede più...

    Spostato
    3
    elegrafica
    0 Votazioni
    3 Post
    2k Visualizzazioni
    Grazie mille!! ora funziona!!
  • Frasi da "tastiera" a immagini

    5
    ladycrys
    0 Votazioni
    5 Post
    919 Visualizzazioni
    Finalmente un punto di partenza, ti ringrazio :)! Adesso mi guardo un po' la documentazione e aggiorno il topic (potrebbe servire a qualcun altro, non si sa mai)
  • Php ad oggetti

    10
    bismark2005
    0 Votazioni
    10 Post
    5k Visualizzazioni
    Partendo dalla mia esperienza personale, se si conosce BENE php in modo procedurale e si ha chiara la programmazione a oggetti (classi, metodi, variabili globali, variabili di classe, metodi statici, classi astratte, etc.. ) di un qualunque linguaggio (vedi Java), la programmazione a oggetti in php vien praticamente da sola. Questo è a parer mio il motivo per cui non ci sono moltissimi manuali dedicati ESCLUSIVAMENTE alla programmazione a oggi in php. Io studiai Programmazione Orientata agli oOggetti all'università, e tra i millemila linguaggi che che si sarebbero potuti scegliere di esempio, il mio docente scelse Java per via della semplicità e diffusione. Quando mi ritrovai a programmare per il web, dovetti imparare il php e mi resi conto che la programmazione a oggetti non differisce praticamente in alcun linguaggio. Questa guida è a parer mio, più che sufficiente per inziare ad imparare a programmare ad oggetti in php: http://php.html.it/guide/leggi/167/guida-programmazione-ad-oggetti-con-php-5/ Chiunque ti abbia detto che PHP è indietro rispetto ai linguaggi "seri" come ASP.net e Java per quanto riguarda la PROGRAMMAZIONE WEB, dovrebbe aggiornarsi. Solitamente le società che usano Java per il web, sono società molto grosse, che sfruttano questo linguaggio in quanto possono usarlo non solo per la programmazione server side, ma anche client side, quindi non necessitano di programmatori dedicati (andando ad utilizzare un solo linguaggio per la maggioranza dei progetti commissionati). Java sotto questo aspetto è sicuramente più flessibile. Si noti che i normali hosting non supportano Java, la diffusione come linguaggio web è molto bassa, ti serve quasi sicuramente un server dedicato per farlo girare. ASP.net se la contende bene. Il problema è che richiede licenza e funziona solo su server windows. Motivi più che validi per far cadere la mia personale scelta su PHP. Il PHP è uno dei linguaggi più facili da imparare, il quale deriva direttamente dal C e presenta una sintassi estremamente versatile e chiara. Inoltre, il solo fatto che non sia un linguaggio nativo O.O. , è a parer mio un vantaggio, in quando non sempre è necessaria la programmazione ad oggetti quando si lavora nel web (ti parlo di progetti piccoli, come siti web e piccole applicazioni).
  • Estrarre dati da file.txt con PHP

    10
    clickare
    0 Votazioni
    10 Post
    5k Visualizzazioni
    Ciao Clickare, pensi che caricandoti le righe su un array con la funzione file() possa essere più consona dato che hai modo di tracciare ogni dato? Verifichi se la parte iniziale è una riga di dati e ti estrai la stringa utile, all'arrivo dei due spazi (ne basta uno a questo punto) passi alla riga successiva della tabella. Può essere una soluzione utile?
  • Invio pagine HTML con outlook

    Spostato
    5
    number5
    0 Votazioni
    5 Post
    8k Visualizzazioni
    In effetti io ho windows mail, credevo fosse uguale. Non puoi usare un altro programma per spedire le mail? Thunderbird di Mozilla è il più avanzato ed espandibile per tutte le esigenze.
Home Accedi Registrati