-
Posts
15,227 -
Joined
-
Last visited
-
Days Won
427
Everything posted by requinix
-
No, no, I mean what's the problem with allowing text like ŝ̬ô̬m̬̂ê̬t̬̂ê̬x̬̂t̬̂? The forum's own software is doing it right now.
-
Why is it a problem? If that's what the user entered then you should be showing it back to them...
-
Dynamically accessing html value within the same file
requinix replied to PaulosK's topic in PHP Coding Help
Forms only submit the data in their fields. Your form has no data in it at all. If you don't need anything else but the SID then forget the form entirely and go with AJAX instead. -
Dynamically accessing html value within the same file
requinix replied to PaulosK's topic in PHP Coding Help
Any particular reason you aren't doing a normal form? Like <form method="post"> <label>SID: <input type="text" name="sid"></label> <button type="submit">Submit</button> </form> Because what you're doing is... I don't know? You've got bits and pieces of multiple paradigms going on in here, and none of them are going to work like that. -
More like PhpSpreadsheet doesn't support something that's... well, it's weird, to put form elements into a spreadsheet. That's not what spreadsheets are for. If you want better automation, have you considered VBA? Subscribing is half of it. Are your notification settings set up to send you emails? Check your spam folder, just in case?
-
It sure looks like that function used to exist, but I can't find it anywhere in WP's history... It's probably a dumb function anyway: try replacing the line with $result = $theme_default_options[$name];
-
It'll be fine if you do this in a way that isn't perfect. Namely, by not using jQuery and instead using inline Javascript events. First, take your link, make it open the content page in the frame if it doesn't already, and then add an onclick that calls a Javascript function. It should look something like this: <a target="content" href="doc1.htm" onclick="andAlsoDoc2();"> Inside the menu page (not doc1 or doc2) add the Javascript for that function. Its code goes like <script> function andAlsoDoc2() { window.parent.frames["menu2"].location.assign("doc2.htm"); } </script> That looks in the parent window (which is the one with the frames), finds the frame named "menu2", and makes it navigate to doc2.htm. Notice that the function does not "return false": doing so would prevent the original action (ie. browsing to doc1) from happening, and you do want it to happen.
-
Normally you solve this problem by not using frames. Is that an option? How much work are you willing to put into this? The alternative is Javascript: make your link open one of the pages (I suggest the content page) normally, then use Javascript to "open" the discography page in the other frame as well.
-
Display posts from social media accounts to html page
requinix replied to stavroc's topic in PHP Coding Help
They all have some sort of HTML you can copy into a page that will display what you want. -
Frames? There's a few approaches here. What's the nature of doc1 and doc2, and why do you need to load both of them at once?
-
my MacBook Pro doesn't like java...
requinix replied to maya8989's topic in Other Programming Languages
I mention Homebrew because it's the easiest way (so I hear) to install packages on a Mac. You know, so you don't have to deal with any of this stuff. -
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
The purpose of downloading is to get the files onto your computer. Any of those options shown above are capable of doing that, so feel free to choose the one that works easiest for you. -
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
https://github.com/dwo0/cmark -
my MacBook Pro doesn't like java...
requinix replied to maya8989's topic in Other Programming Languages
You aren't using Homebrew? -
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
CommonMark is not compatible with PHP 8 yet. https://github.com/krakjoe/cmark/issues/21 Uninstall, then try downloading this version and phpize ./configure make install -
You've restated the problem like you first did last week. What progress have you made with the example code that has been given to you? What code do you have now? What is happening with it, and what were you expecting to happen?
-
Containerized PHP application sessions directory is empty
requinix replied to xusword's topic in PHP Coding Help
Does that mean sessions are working and persistent? And you just can't figure out where the data is being stored? -
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
checking for libcmark... checking for cmark_markdown_to_html in -lcmark... no configure: error: wrong cmark lib version or lib not found You haven't installed the cmark library. -
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
Most package managers have a concept of a "metapackage": it doesn't have anything itself, but it depends on other packages. Among other advantages, that means you can install the metapackage and the rest will be sorted out for you. php-dev is a metapackage for php<version>-dev. -
https://www.php.net/manual/en/function.str-contains.php
-
According to this, PhpSpreadsheet only detects them for Excel 2007 files and even then you can't get their properties.
-
PHP is mostly forward-compatible. Mostly. But PHP does use new major versions to make big, incompatible changes to some aspects. Short of checking DokuWiki's documentation about itself, where it will likely say something like "requires PHP 7+" and maybe even "...up to PHP 8.x", the most effective way to find out if it will work is to run it and see if it works.
-
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
~$ sudo pecl install cmark ... ERROR: `/tmp/pear/temp/cmark/configure --with-php-config=/usr/bin/php-config' failed I take it there was a lot of "..." that you removed? Did you read through it? -
Call to undefined function CommonMark\Parse()
requinix replied to rick645's topic in PHP Installation and Configuration
For further information why: https://www.php.net/manual/en/cmark.setup.php